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