chore: node 16

This commit is contained in:
xiaojunnuo
2023-05-26 14:31:37 +08:00
parent 71a289b009
commit 7b9d70e093
3 changed files with 12 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
FROM registry.cn-shenzhen.aliyuncs.com/handsfree/certd:latest
#RUN npm install pm2 -g --registry=https://registry.npmmirror.com
EXPOSE 7001
#CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1","--", "-p", "7001"]
CMD ["node", "./bootstrap.js"]
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"]