From 0e269930e37d6ed8ea315a6e79e79873119259e1 Mon Sep 17 00:00:00 2001 From: zhaojun <2732810281@qq.com> Date: Fri, 9 Jan 2026 15:35:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfile b/dockerfile index ceb7fbf..32ebaaf 100644 --- a/dockerfile +++ b/dockerfile @@ -7,11 +7,11 @@ RUN npm install -g pnpm # 设置工作目录 WORKDIR /build -# 复制 monorepo 配置文件 +# 先复制配置文件以利用 Docker 缓存 COPY pnpm-workspace.yaml ./ COPY package.json ./ COPY pnpm-lock.yaml ./ -COPY turbo.json ./ # 添加这行 - 必须复制 turbo.json +COPY turbo.json ./ # 复制所有 workspace 包和应用 COPY packages ./packages