Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

fix(frontend): pass allow-build flags to pnpm install in Docker build

wizardchende7a241f8b1e
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index 25d4f9626..f990858e0 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 . .