diff --git a/Dockerfile b/Dockerfile index feb2f2b..4556285 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,9 +8,6 @@ ENV RAGFLOW_BASE=${RAGFLOW_BASE} WORKDIR /app -# 复制包管理文件(包含工作空间定义) -COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./ - # 安装 pnpm 和依赖(工作空间) RUN npm install -g pnpm @@ -27,6 +24,10 @@ RUN if [ "$BUILD_MODE" = "flask" ]; then \ cp .env.production .env; \ fi + +# 构建 @teres/iframe-bridge +RUN pnpm --filter @teres/iframe-bridge run build + # 构建根 Vite 应用 RUN pnpm --filter ./ run build