Added NUGET_CERT_REVOCATION_MODE to docker files

This commit is contained in:
Khwezi Mngoma
2026-06-06 00:07:00 +02:00
parent 99c3498ae4
commit 5f1e31b703
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -23,6 +23,7 @@ COPY ["src/LiteCharmsSecurity.Admin.EntityFramework.Shared/LiteCharmsSecurity.Ad
COPY ["src/LiteCharmsSecurity.Admin.EntityFramework.SqlServer/LiteCharmsSecurity.Admin.EntityFramework.SqlServer.csproj", "src/LiteCharmsSecurity.Admin.EntityFramework.SqlServer/"]
COPY ["src/LiteCharmsSecurity.Shared/LiteCharmsSecurity.Shared.csproj", "src/LiteCharmsSecurity.Shared/"]
ENV NUGET_CERT_REVOCATION_MODE=offline
RUN dotnet restore "src/LiteCharmsSecurity.Admin/LiteCharmsSecurity.Admin.csproj" --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" --verbosity detailed
COPY . .