Error: failed to fetch an image or build from source: app does not have a Dockerfile or buildpacks

Hi,

I’m encountering the following error when attempting to deploy:

Error: failed to fetch an image or build from source: app does not have a Dockerfile or buildpacks configured. See https://fly.io/docs/reference/configuration/#the-build-section

My fly.toml file includes the following configuration, which used to work without any issues:

[build]
  builder = "heroku/builder:22"

I haven’t made any changes to the file, but the deployment suddenly stopped working today.
Any tips?

Here’s my fly.toml

app = "myappname"
primary_region = "ams"
kill_signal = "SIGINT"
kill_timeout = "5s"

[experimental]
  cmd = ["node index.js"]
  auto_rollback = true

[build]
  builder = "heroku/builder:22"

[deploy]
  strategy = "immediate"
  
[[mounts]]
  source = "player_data"
  destination = "/data"
1 Like

Hi… Try --depot=false for now, but this may need more attention in the near future, it seems, :adhesive_bandage::

https://community.fly.io/t/depot-remote-builders-becoming-the-default/21756/15

Hope this helps a little!

1 Like

From App not working to Build debugging

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.