From 370f735cf2e72de1b1b492878c74f91614d83ce1 Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Thu, 12 Mar 2026 00:03:42 +0330 Subject: [PATCH] fix: bypass broken Nexus proxy, use nuget.org directly Nexus nuget-all proxy returns 500. Replace with direct nuget.org source. Keep foursat-hosted for proto push step only. --- Dockerfile | 2 +- src/NuGet.config | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 68dcb91..96b8d02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ COPY src/NuGet.config ./ # Copy solution and project files COPY src/ ./ -# Restore with Nexus config and publish +# Restore and publish RUN dotnet restore "CMSMicroservice.WebApi/CMSMicroservice.WebApi.csproj" --configfile NuGet.config RUN dotnet publish "CMSMicroservice.WebApi/CMSMicroservice.WebApi.csproj" -c Release -o /app/publish --no-restore diff --git a/src/NuGet.config b/src/NuGet.config index 59d2375..d70eceb 100644 --- a/src/NuGet.config +++ b/src/NuGet.config @@ -2,15 +2,11 @@ - - + + - - - -