From c1ec253935d80f7b715d28cf378ec8421401d7d1 Mon Sep 17 00:00:00 2001 From: sunlei Date: Wed, 24 Jun 2026 08:53:09 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E5=9B=BA=E5=AE=9AAPI=E9=95=9C=E5=83=8Fpn?= =?UTF-8?q?pm=E5=AE=89=E8=A3=85=E6=BA=90?= 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 0b0fd19..8266714 100644 --- a/dockerfile +++ b/dockerfile @@ -33,8 +33,8 @@ RUN apt-get update \ # 生产镜像只安装运行依赖,dist 由 Jenkins Build stage 提前产出。 # 跳过安装阶段脚本,避免 NODE_ENV=production 时 devDependency 中的 husky 不存在导致 prepare 失败。 -RUN corepack enable \ - && corepack prepare pnpm@9 --activate \ +RUN npm install -g pnpm@9.15.9 --registry=https://registry.npmmirror.com \ + && pnpm config set registry https://registry.npmmirror.com \ && pnpm install --prod --frozen-lockfile --ignore-scripts \ && pnpm rebuild skia-canvas