Deploy warning

When I deploy an app with docker, it shows a warning of ignoring dockerfile due to config.
Screen Shot 2023-04-22 at 10.50.38 PM

I don’t think I made it ignore the dockerfile. Someone has an idea on why there is a warning like this? My fly.toml file is the following.

1 Like

You have image in your [build] section so flyctl is using that instead of trying to build with your Dockerfile.

1 Like

Your API keys are on the print screen. :face_with_monocle:

That’s probably not safe.

Yeah those should probably be secrets too, so they don’t get committed to source control.

I have the same waring. In my fly.toml my [build] section is only the following:

  build-target = "prod"

I think the warning is not true because definitely it does use the dockerfile to build.

Let me take a look. I believe that flyctl is doing something odd.

This should fix @callmewind’s case.

@aaronzhao1229 - Do you have something in fly.toml’s [build] section?


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