chore: node 16

This commit is contained in:
xiaojunnuo
2023-05-26 14:39:51 +08:00
parent 4b4c5dba73
commit 0c2684d1cf

View File

@@ -6,7 +6,7 @@ WORKDIR /app/
#RUN npm install pm2 -g --registry=https://registry.npmmirror.com
#RUN pm2 install pm2-logrotate
ADD ./workspace/certd-server/ /app/
RUN yarn install -P --registry=https://registry.npmmirror.com
RUN yarn install --production --registry=https://registry.npmmirror.com
RUN npm run build
#CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1"]
CMD ["npm", "run","start"]