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

COPY failed: stat /var/lib/docker/tmp/docker-builder904419244/config.js: no such file or directory #100

Open
clark-97 opened this issue Jul 9, 2020 · 1 comment

Comments

@clark-97
Copy link

clark-97 commented Jul 9, 2020

Dockerfile

FROM atlassian/nucleus
COPY config.js /opt/service/config.js

Run

docker build -t nucleus .

Error info

Sending build context to Docker daemon 2.048kB
Step 1/2 : FROM atlassian/nucleus
---> dbbbe44b8208
Step 2/2 : COPY config.js /opt/service/config.js
COPY failed: stat /var/lib/docker/tmp/docker-builder904419244/config.js: no such file or directory

Did I miss some details? BTW, I'm new to docker...

@b-zurg
Copy link

b-zurg commented Jul 12, 2020

Are you sure you have config.js in the folder where you're running the docker command?

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

2 participants