From de7a241f8b1e3e3723812275e720097e159bbf81 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Fri, 8 May 2026 16:25:25 +0800 Subject: [PATCH] fix(frontend): pass allow-build flags to pnpm install in Docker build Some CI runners still fail with ERR_PNPM_IGNORED_BUILDS even with package-level configuration. Pass explicit allow-build flags to `pnpm install` in Dockerfile so required postinstall scripts are always permitted during image builds. --- frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 25d4f962..f990858e 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -13,7 +13,7 @@ COPY packages/xlsx-0.20.2.tgz ./packages/xlsx-0.20.2.tgz # 安装依赖 RUN corepack enable -RUN pnpm install +RUN pnpm install --allow-build=@vue-office/pptx --allow-build=esbuild --allow-build=vue-demi # 复制项目文件 COPY . .