atlassian / nucleus

A configurable and versatile update server for all your Electron apps
Other
398 stars 93 forks source link

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

Open clark-97 opened 4 years ago

clark-97 commented 4 years ago

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 commented 4 years ago

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