From 4d5a9942c2884b57152f2e35f45406cbc2f90c5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9A=E9=80=9A?= Date: Wed, 4 Mar 2026 23:43:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8D=87=E7=BA=A7=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E7=8E=AF=E5=A2=83=E8=87=B3=20Node=2022=20=E4=BB=A5=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=20Vite=206?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 5cfb0330..01b30299 100644 --- a/deploy.sh +++ b/deploy.sh @@ -36,7 +36,7 @@ rm -rf frontend/dist # 使用临时容器构建 echo " Running npm install & build in docker..." -docker run --rm -v $(pwd)/frontend:/app -w /app node:18-alpine sh -c "npm install && npm run build" +docker run --rm -v $(pwd)/frontend:/app -w /app node:22-alpine sh -c "npm install && npm run build" if [ ! -d "frontend/dist" ]; then echo "❌ 前端构建失败: frontend/dist 目录未生成"