Subject: Persistent Build Failure: “app does not have a Dockerfile or buildpacks configured”
Hello Fly.io Support Team,
I am experiencing a continuous build failure on my application, ‘meyazegim’, which is connected via GitHub.
Command Used:
fly deploy -a meyazegim
Error Received:
Error: failed to fetch an image or build from source: app does not have a Dockerfile or buildpacks configured.
Verification of Configuration:
- I have explicitly deleted the Dockerfile from the repository to force the use of Buildpacks.
- My
fly.tomlfile explicitly defines the[build]block.
This is the exact content of my fly.toml (from the latest commit):
app = 'meyazegim'
primary_region = 'fra'
[build]
builder = "heroku/buildpacks:20"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = 'stop'
auto_start_machines = true
min_machines_running = 0
processes = ['app']
[[vm]]
memory = '1gb'
cpu_kind = 'shared'
cpus = 1
memory_mb = 1024