fix: 更新npm和yarn的注册表为npmmirror

This commit is contained in:
2025-10-25 23:01:13 +08:00
parent c5e9ab2e5a
commit 8d479feaee

View File

@ -38,8 +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 npm config set registry https://repo.huaweicloud.com/repository/npm/
RUN yarn config set registry https://repo.huaweicloud.com/repository/npm/
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