From 118da8fc84f801383d8f4afe9ff846bf8f2be70c Mon Sep 17 00:00:00 2001 From: iris_cx Date: Thu, 7 Dec 2023 07:53:24 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'web/Dockerfilenew'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/Dockerfilenew | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/Dockerfilenew b/web/Dockerfilenew index b820441..d1a6c23 100644 --- a/web/Dockerfilenew +++ b/web/Dockerfilenew @@ -1,4 +1,4 @@ -FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node:12-dev as builder +FROM registry.ngaiot.com/base-images/node:12-fs-dev-35 as builder WORKDIR /var/app @@ -14,7 +14,7 @@ RUN npm run build RUN rm -rf client/src RUN rm -rf node_modules RUN npm install --production --registry https://nexus.ngaiot.com/repository/fs-npm/ -FROM registry.cn-hangzhou.aliyuncs.com/fs-devops/node-16:7.22-06-20 +FROM registry.ngaiot.com/base-images/node:12-fs-prod-40 COPY --from=builder --chown=node /var/app /home/node/app WORKDIR /home/node/app CMD ["node", "server.js"] \ No newline at end of file