From b1b21d3efc2ef182055202f7b0db5c4478b060c8 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Thu, 30 May 2024 12:23:09 +0800 Subject: [PATCH] chore: 1.20.10 --- docker/image/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/image/Dockerfile b/docker/image/Dockerfile index b53d4914..8f503bd4 100644 --- a/docker/image/Dockerfile +++ b/docker/image/Dockerfile @@ -3,11 +3,12 @@ EXPOSE 7001 ENV NODE_ENV production ENV MIDWAY_SERVER_ENV production WORKDIR /app/ +RUN npm install -g pnpm #RUN npm install cross-env -g --registry=https://registry.npmmirror.com #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 pnpm 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"]