Making Dockerfile functional

This commit is contained in:
Fabian 2019-10-10 01:26:13 +02:00
parent 62ef572fbf
commit cdafa7bbd4

View File

@ -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" ]