fix Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user