mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
chore: 1.20.10
This commit is contained in:
@@ -3,11 +3,12 @@ EXPOSE 7001
|
|||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
ENV MIDWAY_SERVER_ENV production
|
ENV MIDWAY_SERVER_ENV production
|
||||||
WORKDIR /app/
|
WORKDIR /app/
|
||||||
|
RUN npm install -g pnpm
|
||||||
#RUN npm install cross-env -g --registry=https://registry.npmmirror.com
|
#RUN npm install cross-env -g --registry=https://registry.npmmirror.com
|
||||||
#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 --production --registry=https://registry.npmmirror.com
|
RUN pnpm install --production --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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user