Docker build fails with "ERROR: Cannot locate specified Dockerfile: Dockerfile"
Closed this issue · 6 comments
I had cURLed the docker-compose.yaml file from the repo and am able to pull, but not able to build. This is the error that I get when running the command docker-compose build
.
I'm not very familiar with docker, the support here was contributed by @Ceralor. Looks to me like you need the Dockerfile in the same directory too, and perhaps you would also need the other files from the repo. Try cloning the whole repo, instead of just the compose file.
The docker-compose needs always to be executed in the folder where the docker-compose.yml is located.
The same is it with docker build commands.
Yep, as @9Mad-Max5 said. I can edit the section of the README.md to make this clearer.
Cloning the entire repo is what worked for me as the dockerfile itself from the repo is what it needed lol. Would recommend making that more explicit in the README so you don't have more people like me raising the same question haha.
The repo now has a prebuilt Docker image, so getting set up is much easier. See the updated docker-compose.yml for an example.
Thanks, claabs! I'll close this issue for now.