❔ ❔ Docker-Compose cannot find Dockerfile
Hey! when i try to do docker-compose build i get this error :
failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount3526330123/Dockerfile: no such file or directory
this is my YML file:
I'm 100% sure my dockerfile has the correct name "Dockerfile". Does anyone else had this problem?5 Replies
The build path is relative to the compose. I cant remember if its the path to the docker file or the build context, so maybe try both
i did, still doenst work..
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.no :(
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.