Refactored docker files to remove the slash notation no the restore command

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