This commit is contained in:
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
ADD ./workspace/certd-server/ /app/
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 npm run build
#CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1"]