Added Dockerfile.

This commit is contained in:
2023-05-30 01:26:55 -05:00
parent 18e7f6f709
commit a5180339a1
2 changed files with 20 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM node:16.6.1-alpine
WORKDIR /opt/app
COPY package*.json ./
RUN npm ci --only=prod
COPY . .
ENV NODE_ENV=production
ENV FILES_DIR=NULL
CMD ["npm", "start"]