Docker: copy failed no such file or directory
Docker: copy failed no such file or directory
Getting error
Step 1/3 : FROM nginx:1.17.1-alpine ---> ea1193fd3dde Step 2/3 : COPY nginx.conf /etc/nginx/nginx.conf COPY failed: stat /var/lib/docker/tmp/docker-builder966100923/nginx.conf: no such file or directory
vito Answered question February 24, 2021
You need to have the nginx.conf file at the location where you have the dockerfile. Place the nginx.conf file where your dockerfile is and the issue will be resolved.
vito Answered question February 24, 2021