mirror of https://github.com/certd/certd
chore: node 16
parent
4b4c5dba73
commit
0c2684d1cf
|
@ -6,7 +6,7 @@ WORKDIR /app/
|
||||||
#RUN npm install pm2 -g --registry=https://registry.npmmirror.com
|
#RUN npm install pm2 -g --registry=https://registry.npmmirror.com
|
||||||
#RUN pm2 install pm2-logrotate
|
#RUN pm2 install pm2-logrotate
|
||||||
ADD ./workspace/certd-server/ /app/
|
ADD ./workspace/certd-server/ /app/
|
||||||
RUN yarn install -P --registry=https://registry.npmmirror.com
|
RUN yarn install --production --registry=https://registry.npmmirror.com
|
||||||
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"]
|
||||||
CMD ["npm", "run","start"]
|
CMD ["npm", "run","start"]
|
||||||
|
|
Loading…
Reference in New Issue