fix Dockerfile
This commit is contained in:
@@ -3,10 +3,13 @@ FROM node:15
|
|||||||
# Create app directory
|
# Create app directory
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
VOLUME [ "/usr/src/app/data" ]
|
||||||
|
|
||||||
# Install app dependencies
|
# Install app dependencies
|
||||||
# A wildcard is used to ensure both package.json AND package-lock.json are copied
|
# A wildcard is used to ensure both package.json AND package-lock.json are copied
|
||||||
# where available (npm@5+)
|
# where available (npm@5+)
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
|
COPY src/postinstall.js ./src/postinstall.js
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
# If you are building your code for production
|
# If you are building your code for production
|
||||||
|
|||||||
Reference in New Issue
Block a user