Browse Source

更新 'web/Dockerfile'

master
李玉 2 years ago
parent
commit
d7358a29e7
  1. 2
      web/Dockerfile

2
web/Dockerfile

@ -6,7 +6,7 @@ EXPOSE 8080
RUN npm config set registry=http://10.8.30.22:7000 RUN npm config set registry=http://10.8.30.22:7000
RUN npm cache clean -f RUN npm cache clean -f
#RUN npm install -g node-gyp #RUN npm install -g node-gyp
#RUN rm -rf package-lock.json RUN rm -rf package-lock.json
RUN npm install --registry http://10.8.30.22:7000 RUN npm install --registry http://10.8.30.22:7000
RUN npm run build RUN npm run build
RUN rm -rf client/src RUN rm -rf client/src

Loading…
Cancel
Save