chore: node 16

pull/21/merge
xiaojunnuo 2023-05-26 14:39:51 +08:00
parent 4b4c5dba73
commit 0c2684d1cf
1 changed files with 1 additions and 1 deletions

View File

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