Added nexus package source to docker file

This commit is contained in:
Khwezi Mngoma
2026-06-05 23:50:39 +02:00
parent f88847148e
commit 23070382d3
3 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ 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 -a $TARGETARCH "src/LiteCharmsSecurity.Admin/LiteCharmsSecurity.Admin.csproj"
RUN dotnet restore -a $TARGETARCH "src/LiteCharmsSecurity.Admin/LiteCharmsSecurity.Admin.csproj" \
--source "https://nexus.khongisa.co.za/repository/nuget-group/index.json"
COPY . .
WORKDIR "src/LiteCharmsSecurity.Admin"