mirror of https://github.com/certd/certd
chore: 1.1.0
parent
8db438d76b
commit
f04e497999
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue