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
@@ -12,6 +12,7 @@ COPY ["src/LiteCharmsSecurity.Admin.EntityFramework.SqlServer/LiteCharmsSecurity
COPY ["src/LiteCharmsSecurity.Shared/LiteCharmsSecurity.Shared.csproj", "src/LiteCharmsSecurity.Shared/"]
COPY ["src/LiteCharmsSecurity.Admin.EntityFramework.PostgreSQL/LiteCharmsSecurity.Admin.EntityFramework.PostgreSQL.csproj", "src/LiteCharmsSecurity.Admin.EntityFramework.PostgreSQL/"]
ENV NUGET_CERT_REVOCATION_MODE=offline
RUN dotnet restore "src/LiteCharmsSecurity.Admin.Api/LiteCharmsSecurity.Admin.Api.csproj" --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" --verbosity detailed
COPY . .