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