fix: 切换yarn为国内镜像源

This commit is contained in:
2025-10-26 13:18:40 +08:00
parent b0b95d54fe
commit 60c4958adf
2 changed files with 2 additions and 1 deletions

View File

@ -1 +0,0 @@
registry "https://registry.npmmirror.com"

View File

@ -38,6 +38,8 @@ 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 yarn config set registry https://registry.npmmirror.com
RUN yarn cache clean
RUN abp install-libs
RUN dotnet build "./KonSoft.AuthServer.csproj" -c $BUILD_CONFIGURATION -o /app/build