Browse Source

更新 'api/Dockerfilenew'

dev
iris_cx 2 years ago
parent
commit
ea4ca3d5ab
  1. 3
      api/Dockerfilenew

3
api/Dockerfilenew

@ -7,6 +7,9 @@ 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/
ls -al
FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12
COPY --from=builder --chown=node /var/app /home/node/app
WORKDIR /home/node/app

Loading…
Cancel
Save