mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore: node 16
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
FROM registry.cn-shenzhen.aliyuncs.com/handsfree/node:16-alpine
|
||||
RUN npm install -g cross-env --registry=https://registry.npmmirror.com
|
||||
RUN npm install cross-env -g --registry=https://registry.npmmirror.com
|
||||
RUN npm install pm2 -g --registry=https://registry.npmmirror.com
|
||||
ADD ./workspace/certd-server/ /app/
|
||||
WORKDIR /app/
|
||||
ENV NODE_ENV production
|
||||
RUN yarn install -P --registry=https://registry.npmmirror.com
|
||||
CMD ["node","./bootstrap.js"]
|
||||
CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1"]
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user