From 30c7f3c3e060f118da7cc0ae57dc85f4accdbfbd Mon Sep 17 00:00:00 2001 From: zhanghao <774378400@qq.com> Date: Mon, 29 Jun 2026 11:24:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 506480b..e156e62 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # ========== 阶段1:构建前端 ========== -FROM node:18-alpine AS builder +FROM node:20-alpine AS builder RUN npm install -g pnpm @@ -14,7 +14,7 @@ COPY . . RUN pnpm run build # ========== 阶段2:生产运行 ========== -FROM node:18-alpine AS runner +FROM node:20-alpine AS runner RUN npm install -g pnpm