diff --git a/Dockerfile b/Dockerfile index 5b6a6cf..0077185 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ RUN npm install -g pnpm # 复制源代码 COPY . . +# 复制完工作空间后,安装并链接所有子包依赖 +RUN pnpm -r install # 设置环境文件(用于根应用的构建) RUN if [ "$BUILD_MODE" = "flask" ]; then \