pull/101/head
xiaojunnuo 2024-07-20 10:17:38 +08:00
parent 8fcd9813d3
commit d62ea41671
2 changed files with 2 additions and 3 deletions

View File

@ -9,7 +9,7 @@ WORKDIR /app/
#RUN pm2 install pm2-logrotate #RUN pm2 install pm2-logrotate
ADD ./workspace/certd-server/ /app/ ADD ./workspace/certd-server/ /app/
RUN sed -i "s/workspace://g" "/app/package.json" RUN sed -i "s/workspace://g" "/app/package.json"
RUN yarn install --production --registry=https://registry.npmmirror.com RUN yarn install --registry=https://registry.npmmirror.com
#RUN yarn install --production #RUN yarn install --production
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"]

View File

@ -62,8 +62,7 @@
"svg-captcha": "^1.4.0", "svg-captcha": "^1.4.0",
"tencentcloud-sdk-nodejs": "^4.0.44", "tencentcloud-sdk-nodejs": "^4.0.44",
"tencentcloud-sdk-nodejs-dnspod": "^4.0.866", "tencentcloud-sdk-nodejs-dnspod": "^4.0.866",
"typeorm": "^0.3.11", "typeorm": "^0.3.11"
"mwtsc": "^1.4.0"
}, },
"devDependencies": { "devDependencies": {
"@midwayjs/mock": "^3.16.4", "@midwayjs/mock": "^3.16.4",