From fdfabd725bb9852fbf608f6924cb3011996acec6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=85=86=E9=91=AB?= Date: Sat, 25 Oct 2025 23:12:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4Dockerfile=E4=B8=AD?= =?UTF-8?q?=E7=9A=84npm=E5=92=8Cyarn=E6=B3=A8=E5=86=8C=E8=A1=A8=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=EF=BC=8C=E5=B9=B6=E6=B7=BB=E5=8A=A0.yarnrc=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E4=BB=A5=E9=85=8D=E7=BD=AE=E6=B3=A8=E5=86=8C=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- applications/KonSoft.AuthServer/.yarnrc | 1 + applications/KonSoft.AuthServer/Dockerfile | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 applications/KonSoft.AuthServer/.yarnrc diff --git a/applications/KonSoft.AuthServer/.yarnrc b/applications/KonSoft.AuthServer/.yarnrc new file mode 100644 index 0000000..ccf4b03 --- /dev/null +++ b/applications/KonSoft.AuthServer/.yarnrc @@ -0,0 +1 @@ +registry "https://registry.npmmirror.com" \ No newline at end of file diff --git a/applications/KonSoft.AuthServer/Dockerfile b/applications/KonSoft.AuthServer/Dockerfile index 2371826..c5ce8c2 100644 --- a/applications/KonSoft.AuthServer/Dockerfile +++ b/applications/KonSoft.AuthServer/Dockerfile @@ -38,8 +38,6 @@ RUN dotnet nuget locals all --clear RUN dotnet nuget add source https://mirrors.huaweicloud.com/repository/nuget/v3/index.json -n HuaweiCloud RUN dotnet tool install -g Volo.Abp.Cli --version 8.3.4 ENV PATH="$PATH:/root/.dotnet/tools" -RUN npm config set registry https://registry.npmmirror.com -RUN yarn config set registry https://registry.npmmirror.com RUN abp install-libs RUN dotnet build "./KonSoft.AuthServer.csproj" -c $BUILD_CONFIGURATION -o /app/build