chore: node 16

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

View File

@ -1,3 +1,3 @@
VITE_APP_API=http://www.docmirror.cn:7001/api VITE_APP_API=/api
#登录与权限开启 #登录与权限开启
VITE_APP_PM_ENABLED=true VITE_APP_PM_ENABLED=true