From e998f16cf9f8a22c94f41321bbace6862b5b8ae1 Mon Sep 17 00:00:00 2001 From: sijinhui Date: Tue, 2 Jul 2024 08:56:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=A0=E9=80=9F=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 3040a0ce4..008d26523 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ WORKDIR /app COPY package.json yarn.lock ./ -RUN yarn config set registry 'https://registry.npmmirror.com/' -RUN yarn config set sharp_binary_host "https://npmmirror.com/mirrors/sharp" +RUN yarn config set registry 'https://mirrors.cloud.tencent.com/npm/' +RUN yarn config set sharp_binary_host "https://cdn.npmmirror.com/binaries/sharp" RUN yarn config set sharp_libvips_binary_host "https://cdn.npmmirror.com/binaries/sharp-libvips" #RUN # 清理遗留的缓存 #RUN yarn cache clean