Added host resolution fix to build steps

Added verbosity flags on each restore command
This commit is contained in:
Khwezi Mngoma
2026-06-06 00:03:18 +02:00
parent ab4fbefa40
commit 99c3498ae4
4 changed files with 19 additions and 16 deletions
+6 -3
View File
@@ -6,9 +6,10 @@ services:
build:
context: .
dockerfile: src/LiteCharmsSecurity.Admin/Dockerfile
network: host
container_name: litecharms-security-admin
ports:
- "8081:8080" # Point your tunnel to this host port for admin.security.khongisa.co.za
- "8081:8080"
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ForwardedHeadersConfiguration__Enabled=true
@@ -29,9 +30,10 @@ services:
build:
context: .
dockerfile: src/LiteCharmsSecurity.Admin.Api/Dockerfile
network: host
container_name: litecharms-security-admin-api
ports:
- "8082:8080" # Point your tunnel to this host port for api.security.khongisa.co.za
- "8082:8080"
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ForwardedHeadersConfiguration__Enabled=true
@@ -75,9 +77,10 @@ services:
build:
context: .
dockerfile: src/LiteCharmsSecurity.STS.Identity/Dockerfile
network: host
container_name: litecharms-security-sts-identity
ports:
- "8083:8080" # Point your tunnel to this host port for sts.security.khongisa.co.za
- "8083:8080"
environment:
- ASPNETCORE_ENVIRONMENT=Production
- ForwardedHeadersConfiguration__Enabled=true
+1 -1
View File
@@ -12,7 +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/"]
RUN dotnet restore "src/LiteCharmsSecurity.Admin.Api/LiteCharmsSecurity.Admin.Api.csproj" --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
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 . .
WORKDIR "src/LiteCharmsSecurity.Admin.Api"
+1 -1
View File
@@ -23,7 +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/"]
RUN dotnet restore "src/LiteCharmsSecurity.Admin/LiteCharmsSecurity.Admin.csproj" --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
RUN dotnet restore "src/LiteCharmsSecurity.Admin/LiteCharmsSecurity.Admin.csproj" --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" --verbosity detailed
COPY . .
WORKDIR "src/LiteCharmsSecurity.Admin"
@@ -10,7 +10,7 @@ COPY ["src/LiteCharmsSecurity.STS.Identity/LiteCharmsSecurity.STS.Identity.cspro
COPY ["src/LiteCharmsSecurity.Admin.EntityFramework.Shared/LiteCharmsSecurity.Admin.EntityFramework.Shared.csproj", "src/LiteCharmsSecurity.Admin.EntityFramework.Shared/"]
COPY ["src/LiteCharmsSecurity.Shared/LiteCharmsSecurity.Shared.csproj", "src/LiteCharmsSecurity.Shared/"]
RUN dotnet restore "src/LiteCharmsSecurity.STS.Identity/LiteCharmsSecurity.STS.Identity.csproj" --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
RUN dotnet restore "src/LiteCharmsSecurity.STS.Identity/LiteCharmsSecurity.STS.Identity.csproj" --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" --verbosity detailed
COPY . .
WORKDIR "src/LiteCharmsSecurity.STS.Identity"