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 @@ - - + + - - - -