Browse Source

更新 'web/Dockerfilenew'

dev
iris_cx 2 years ago
parent
commit
2904b9db2b
  1. 4
      web/Dockerfilenew

4
web/Dockerfilenew

@ -12,8 +12,6 @@ RUN echo "{\"time\":\"$BUILD_TIMESTAMP\",\"build\": \"$BUILD_NUMBER\",\"revision
RUN npm cache clean -f
RUN rm -rf package-lock.json
RUN npm install --registry https://nexus.ngaiot.com/repository/fs-npm/
RUN npm run build
@ -22,6 +20,8 @@ RUN rm -rf client/src
RUN rm -rf node_modules
RUN rm -rf package-lock.json
RUN npm install --production --force --registry https://nexus.ngaiot.com/repository/fs-npm/
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12

Loading…
Cancel
Save