fix(admin-web): 修复 Docker 健康检查失败问题

- 在 Dockerfile runner 阶段安装 wget
- Alpine 镜像默认不包含 wget,导致健康检查失败

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Developer 2025-12-02 09:06:30 -08:00
parent 5a6d4f98c1
commit 82aaa80906
1 changed files with 3 additions and 0 deletions

View File

@ -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