Browse Source

更新 'console/Dockerfile'

修改构建arm64
simplify_dependencies
殷伟文 2 years ago
parent
commit
34c125c5d9
  1. 6
      console/Dockerfile

6
console/Dockerfile

@ -16,6 +16,12 @@ RUN rm -rf node_modules
RUN npm install --production --registry http://10.8.30.22:7000
#RUN npm cache clean -f && npm install --production --force --registry http://10.8.30.22:7000
FROM arm64v8/node:12-alpine
WORKDIR /var/app
COPY --from=0 /var/app /var/app
CMD ["-u", "http://localhost:8088"]
ENTRYPOINT [ "node", "server.js" ]
Loading…
Cancel
Save