Hi !
I want to use COPY in my dockerfile but it doesn’t seem to work.
I have the error:
Step 4/5 : COPY nginx-conf /etc/nginx/conf.d
COPY failed: stat /var/lib/docker/tmp/docker-builder037741353/nginx-conf: no such file or directory
circleci configuration:
version: 2
jobs:
build:
machine: true
working_directory: ~/app
steps:
- checkout
- add_ssh_keys:
fingerprints:
- "myfingerprint"
- run:
name: Build NGINX image
command: docker build - < nginx.dockerfile
Why can’t I copy/add my file ?