Docker refuses to work

This commit is contained in:
2021-02-04 04:26:31 +11:00
parent 68751fcd6c
commit e33585c936
3 changed files with 1 additions and 37 deletions
-18
View File
@@ -1,18 +0,0 @@
FROM node:15
# Change working directory
WORKDIR "/app"
# Copy package.json and package-lock.json
COPY package*.json ./
# Install npm production packages
RUN npm install --production
COPY . /app
EXPOSE 3100
USER node
ENTRYPOINT ["npm", "start"]