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): use npm to match committed lockfile

DuYunfan16d31cb87b01
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index 2d93f2488..6a958a3f7 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -13,14 +13,13 @@ COPY pnpm-workspace.yaml ./
COPY packages/xlsx-0.20.2.tgz ./packages/xlsx-0.20.2.tgz
# 安装依赖
-RUN corepack enable
-RUN pnpm install
+RUN npm ci
# 复制项目文件
COPY . .
# 构建应用
-RUN pnpm run build
+RUN npm run build
# 生产阶段
FROM nginx:stable-alpine AS production-stage