From 867647d2cd8e94070ec8e964ae844402c2c907f3 Mon Sep 17 00:00:00 2001 From: yiciheng Date: Mon, 31 Aug 2026 16:19:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20npm=20=E6=BA=90=E6=94=B9=E4=B8=BA=20regi?= =?UTF-8?q?stry.npmmirror.com=EF=BC=88taobao.org=20=E5=9F=9F=E5=90=8D?= =?UTF-8?q?=E5=B7=B2=E5=81=9C=E6=AD=A2=E6=9C=8D=E5=8A=A1=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 527797b..03c6a6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ WORKDIR /build # 复制依赖清单,利用 Docker 分层缓存(先安装依赖再复制源码) COPY package.json . -RUN npm config set registry https://registry.npm.taobao.org/ && \ +RUN npm config set registry https://registry.npmmirror.com/ && \ npm install --no-audit --no-fund || npm install --no-audit --no-fund --legacy-peer-deps # 复制源码