Making Dockerfile functional
This commit is contained in:
parent
62ef572fbf
commit
cdafa7bbd4
@ -21,9 +21,10 @@ WORKDIR /usr/src/app
|
|||||||
|
|
||||||
COPY package.json /usr/src/app
|
COPY package.json /usr/src/app
|
||||||
COPY package-lock.json /usr/src/app
|
COPY package-lock.json /usr/src/app
|
||||||
COPY lib/ /usr/src/app
|
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
COPY lib/ /usr/src/app/lib
|
||||||
|
COPY views/ /usr/src/app/views
|
||||||
|
|
||||||
VOLUME [ "/usr/src/app/databases", "/usr/src/app/logs" ]
|
VOLUME [ "/usr/src/app/databases", "/usr/src/app/logs" ]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user