From 727086c96270fe21a9c438abb0e3118f9b642a8c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 18 Apr 2026 12:29:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=9B=B4=E6=96=B0=E6=9E=84?= =?UTF-8?q?=E5=BB=BAcicd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1747bec..568aafd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,11 @@ -FROM node:20-alpine AS builder +FROM registry.cn-shenzhen.aliyuncs.com/zuoge-proxy/node:20-alpine AS build WORKDIR /app COPY package*.json yarn.lock ./ RUN yarn install --frozen-lockfile COPY . . RUN yarn build -FROM nginx:alpine +# 部署阶段 +FROM crpi-an5dzzjadzt6601u.cn-shenzhen.personal.cr.aliyuncs.com/softnook-proxy/nginx:1.27.3-alpine AS app COPY --from=builder /app/dist /usr/share/nginx/html EXPOSE 80 \ No newline at end of file