Browse Source

更新 'web/Dockerfile'

master
sunyue 2 years ago
parent
commit
916a4d56a3
  1. 2
      web/Dockerfile

2
web/Dockerfile

@ -39,7 +39,7 @@ RUN npm run build
RUN rm -rf client/src
RUN rm -rf node_modules
RUN npm install --production --force --registry https://nexus.ngaiot.com/repository/fs-npm/
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node-16:7.22-06-20
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12
COPY --from=builder --chown=node /var/app /home/node/app
WORKDIR /home/node/app
CMD ["node", "server.js"]
Loading…
Cancel
Save