Skip to content

Commit

Permalink
chore: 1.20.10
Browse files Browse the repository at this point in the history
  • Loading branch information
greper committed May 30, 2024
1 parent 760d54b commit 960a196
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +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 pnpm install --production --registry=https://registry.npmmirror.com
RUN sed -i "s/\"workspace:/\"/g" "/app/package.json
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"]
Expand Down

0 comments on commit 960a196

Please sign in to comment.