chore: 1.1.0

pull/21/merge
xiaojunnuo 2023-06-28 11:34:37 +08:00
parent 8db438d76b
commit f04e497999
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,8 @@ 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 --production --registry=https://registry.npmmirror.com
#RUN yarn install --production --registry=https://registry.npmmirror.com
RUN yarn install --production
RUN npm run build
#CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1"]
CMD ["npm", "run","start"]

View File

@ -32,4 +32,6 @@ mkdir -p $build/workspace/certd-server
\cp ./* $build/workspace/certd-server -rf
\cp ../certd-client/dist/* $build/workspace/certd-server/public/ -rf
export TAG=$version
sudo -E docker compose build
sudo -E docker compose push