I have a file called prod.Dockerfile and I want to use that for my nextJS app. But fly.io doesn’t detect that and instead makes it’s own file called Dockerfile. I want to deploy with my prod.Dockerfile without changing it’s name to Dockerfile
You can specify the path in fly.toml:
If you’re running fly launch for first time, try just renaming the file, run launch, then rename it back and adjust your config.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.