From 999ef5b4c54a30814a9c9b77aeb543890332a0b7 Mon Sep 17 00:00:00 2001 From: yfan Date: Fri, 6 Feb 2026 09:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0C++=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E7=8E=AF=E5=A2=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 939ae51..9394fcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,6 +28,9 @@ FROM base AS runner WORKDIR /app ENV NODE_ENV=production +# 测试点生成需要编译/运行用户 C++ 标程 +RUN apk add --no-cache build-base + RUN addgroup -g 1001 -S nodejs RUN adduser -S nextjs -u 1001