From 216f4978d72508c12fa01bfcdb407a0dde03d79c Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 16 May 2026 01:33:17 +0200 Subject: [PATCH] Refactored dockerfile --- Dockerfile | 2 +- LiteCharmsShopAdmin.slnx | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index adb766b..4ae9460 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build WORKDIR /app COPY ["nuget.config", "./"] -COPY ["ShopAdmin/ShopAdmin.csproj", "Shop/"] +COPY ["ShopAdmin/ShopAdmin.csproj", "ShopAdmin/"] RUN dotnet restore "ShopAdmin/ShopAdmin.csproj" --configfile nuget.config COPY . . RUN dotnet publish "ShopAdmin/ShopAdmin.csproj" -c Release -o /app/publish /p:UseAppHost=false diff --git a/LiteCharmsShopAdmin.slnx b/LiteCharmsShopAdmin.slnx index 3b3c6ff..5d7dd05 100644 --- a/LiteCharmsShopAdmin.slnx +++ b/LiteCharmsShopAdmin.slnx @@ -1,3 +1,9 @@ + + + + + +