diff --git a/api/Dockerfilenew b/api/Dockerfilenew index b34d4918..2f1de0f2 100644 --- a/api/Dockerfilenew +++ b/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