From f6d5b31c35048b1bd0ccb0961c60ba570b0c86cb Mon Sep 17 00:00:00 2001 From: clkj <919284064@qq.com> Date: Mon, 15 Jun 2026 11:24:43 +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 | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index fb1028c..677a0e3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN npm ci # 阶段2: 构建应用 FROM base AS builder +RUN npm config set registry https://npmmirror.com COPY --from=deps /app/node_modules ./node_modules COPY . . RUN npx prisma generate