优化
This commit is contained in:
8
apps/github-app/Dockerfile
Normal file
8
apps/github-app/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
FROM node:12-slim
|
||||
WORKDIR /usr/src/app
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci --production
|
||||
RUN npm cache clean --force
|
||||
ENV NODE_ENV="production"
|
||||
COPY . .
|
||||
CMD [ "npm", "start" ]
|
||||
Reference in New Issue
Block a user