pull/101/head
xiaojunnuo 2024-07-20 10:05:39 +08:00
parent eda89a057a
commit ea0eafdb16
2 changed files with 3 additions and 3 deletions

View File

@ -3,13 +3,13 @@ EXPOSE 7001
ENV NODE_ENV production
ENV MIDWAY_SERVER_ENV production
WORKDIR /app/
RUN npm install -g pnpm
#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 sed -i "s/workspace://g" "/app/package.json"
RUN pnpm 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"]

View File

@ -41,7 +41,7 @@
"bcryptjs": "^2.4.3",
"cache-manager": "^3.6.3",
"dayjs": "^1.11.7",
"glob": "^11.0.0",
"glob": "^10.4.5",
"https-proxy-agent": "^7.0.4",
"iconv-lite": "^0.6.3",
"js-yaml": "^4.1.0",