chore: node 16

This commit is contained in:
xiaojunnuo
2023-05-26 14:43:38 +08:00
parent 0c2684d1cf
commit 2297121eff
2 changed files with 5 additions and 4 deletions

View File

@@ -1,8 +1,9 @@
FROM registry.cn-shenzhen.aliyuncs.com/handsfree/certd:latest
EXPOSE 7001
RUN npm install pm2 -g --registry=https://registry.npmmirror.com
CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1","--", "-p", "7001"]
#CMD ["npm","run", "start"]
RUN npm run build
#RUN npm install pm2 -g --registry=https://registry.npmmirror.com
#CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1","--", "-p", "7001"]
CMD ["npm","run", "start"]