From 5b7d1e8f649fb7d7c0a2b6926a77935f1437bd41 Mon Sep 17 00:00:00 2001 From: dongsk Date: Thu, 3 Sep 2026 11:56:49 +0800 Subject: [PATCH] =?UTF-8?q?=E9=95=9C=E5=83=8F=E6=BA=90=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .npmrc | 1 + Dockerfile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..7549542 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=https://registry.npmmirror.com diff --git a/Dockerfile b/Dockerfile index 3699d59..17e6f60 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app COPY package.json package-lock.json* ./ # 安装依赖 -RUN npm install +RUN npm install --registry=https://registry.npmmirror.com # 复制源码 COPY . .