chore: node 16

This commit is contained in:
xiaojunnuo
2023-05-26 14:08:37 +08:00
parent ddf98ff593
commit 71a289b009
3 changed files with 10 additions and 8 deletions
+4 -3
View File
@@ -1,7 +1,8 @@
FROM registry.cn-shenzhen.aliyuncs.com/handsfree/certd:latest
RUN npm install pm2 -g --registry=https://registry.npmmirror.com
CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1"]
#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"]