Added Dockerfile.
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal 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"]
|
Reference in New Issue
Block a user