Skip to content
Snippets Groups Projects
Commit b6ca8817 authored by VOGT VICTOR's avatar VOGT VICTOR
Browse files

COPY need path with / at the end in Dockerfile

parent b26c2862
Branches
1 merge request!3Feature/modify profile
FROM node:10-alpine
RUN mkdir -p /app
WORKDIR /app
RUN mkdir -p /app/
WORKDIR /app/
COPY . .
......
FROM node:10-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
RUN mkdir -p /usr/src/app/
WORKDIR /usr/src/app/
RUN npm install
COPY package*.json /usr/src/app
COPY package*.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
COPY . /usr/src/app/
CMD ["npm", "start"]
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment