Deployment fails with "Project does not contain a Dockerfile and has not set a CNB builder, builtin builder or selected an image"
Closed this issue · 4 comments
lacommu commented
Hello,
I'm trying to experiment fly.io using this repo but I'm having issues deploying it. It fails with error :
Project does not contain a Dockerfile and has not set a CNB builder, builtin builder or selected an image
Repro steps :
- clone the project
- login to flyctl
- flyctl init
- select Go builtin (and default answers for the rest)
- flyctl deploy
Am I missing a step ?
Thanks
codepope commented
Could you tell me what version of flyctl you are using? (flyctl version
)
lacommu commented
I'm using 0.0.139 on Linux
codepope commented
Ah, issue found....
If you remove the .gitignore file from the project clone, it should build fine.
It was an issue that pops up with remote building when you don't have Docker installed locally.
lacommu commented
Yep that solved it ! Thanks :)