fix Dockerfile

This commit is contained in:
Klemek committed 2021-03-30 19:53:26 +02:00
1 parent 56d7993116
commit d0bebcba87
1 file changed
+3
+3
View File
@@ -3,10 +3,13 @@ FROM node:15
# Create app directory
WORKDIR /usr/src/app
VOLUME [ "/usr/src/app/data" ]
# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)
COPY package*.json ./
COPY src/postinstall.js ./src/postinstall.js
RUN npm install
# If you are building your code for production