skip to Main Content

why I can't copy directory to my docker container?

I have my own directory structure: +projects +project_1 +project_2 +node +container_1 -Dockerfile in my Dockerfile I copy project_1 to /var/www/project_1 directory but unfortunately it is not copied: #Dockerfile FROM node:17 WORKDIR /var/www/project_1 COPY ../../projects/project_1 /var/www/project_1 RUN npm install CMD ["npm","run","start:dev"]…

VIEW QUESTION
Back To Top
Search