|
|
@@ -40,6 +40,7 @@ COPY ["HealthMonitor.WebApi/HealthMonitor.WebApi.csproj", "HealthMonitor.WebApi/ |
|
|
|
RUN dotnet nuget remove source nuget.org |
|
|
|
#RUN dotnet nuget add source https://mirrors.cloud.tencent.com/nuget/ -n tencent_nuget |
|
|
|
RUN dotnet nuget add source https://repo.huaweicloud.com/repository/nuget/v3/index.json -n huaweicloud_nuget |
|
|
|
RUN dotnet nuget add source https://nuget.cdn.azure.cn/v3/index.json -n azure_nuget |
|
|
|
RUN dotnet restore "HealthMonitor.WebApi/HealthMonitor.WebApi.csproj" |
|
|
|
COPY . . |
|
|
|
WORKDIR "/src/HealthMonitor.WebApi" |
|
|
|