Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker not working with Mac OS #1

Open
dev-junaid opened this issue Aug 3, 2022 · 2 comments
Open

Docker not working with Mac OS #1

dev-junaid opened this issue Aug 3, 2022 · 2 comments

Comments

@dev-junaid
Copy link

On executing docker-compose build, i am getting the following error in the console.

failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1638961496/Dockerfile: no such file or directory
ERROR: Service 'server' failed to build : Build failed

Any workaround in that

@kv4nt
Copy link

kv4nt commented Nov 16, 2022

rename your Dockerfile.dev to Dockerfile

@pch4115209
Copy link

You could also change build context:

....
    build:
      context: .
      dockerfile: ./Dockerfile.dev
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants