Hey, i’m trying to create a fly.io app based on a public ECR image, but i’m getting this error
==> Verifying app config
Validating /tmp/a3/fly.toml
Platform: machines
✓ Configuration is valid
--> Verified app config
==> Building image
Searching for image 'public.ecr.aws/alias/repo-name:latest' remotely...
Error: failed to fetch an image or build from source: server returned a non-200 status code: 500
This image seems to be fine when I’m trying to use with docker.
This is my fly.toml:
primary_region = "lhr"
[build]
image = "public.ecr.aws/alias/repo-name:latest"
[[services]]
protocol = "tcp"
internal_port = 3000
auto_stop_machines = false
auto_start_machines = false
min_machines_running = 1
Thanks