From 82aaa809060f9a056d6fda1ffa91017d037c6b62 Mon Sep 17 00:00:00 2001 From: Developer Date: Tue, 2 Dec 2025 09:06:30 -0800 Subject: [PATCH] =?UTF-8?q?fix(admin-web):=20=E4=BF=AE=E5=A4=8D=20Docker?= =?UTF-8?q?=20=E5=81=A5=E5=BA=B7=E6=A3=80=E6=9F=A5=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 Dockerfile runner 阶段安装 wget - Alpine 镜像默认不包含 wget,导致健康检查失败 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- frontend/admin-web/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/admin-web/Dockerfile b/frontend/admin-web/Dockerfile index 20b24f56..f686ae92 100644 --- a/frontend/admin-web/Dockerfile +++ b/frontend/admin-web/Dockerfile @@ -31,6 +31,9 @@ WORKDIR /app ENV NODE_ENV=production ENV NEXT_TELEMETRY_DISABLED=1 +# 安装 wget 用于健康检查 +RUN apk add --no-cache wget + # 创建非 root 用户 RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs