From 4fd039b2507295bd47103331828aa622a2572b22 Mon Sep 17 00:00:00 2001 From: masoodafar-web Date: Mon, 16 Feb 2026 01:42:25 +0330 Subject: [PATCH] fix: switch to NuGet package reference for CMS Protobuf (Docker build fix) - Changed from ProjectReference to PackageReference (v0.0.178) - Removed COPY libs/ from Dockerfile (no longer needed) - Docker build context (src/) cannot resolve ../../../CMS path - NuGet package restored from Nexus registry --- src/BackOffice/BackOffice.csproj | 4 ++-- src/BackOffice/Dockerfile | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/BackOffice/BackOffice.csproj b/src/BackOffice/BackOffice.csproj index c6bc273..4511f4e 100644 --- a/src/BackOffice/BackOffice.csproj +++ b/src/BackOffice/BackOffice.csproj @@ -136,9 +136,9 @@ - + - + diff --git a/src/BackOffice/Dockerfile b/src/BackOffice/Dockerfile index faa6fe2..cb5cc41 100644 --- a/src/BackOffice/Dockerfile +++ b/src/BackOffice/Dockerfile @@ -5,9 +5,6 @@ WORKDIR /src COPY ["BackOffice/NuGet.config", "NuGet.config"] COPY ["BackOffice/BackOffice.csproj", "BackOffice/"] -# Copy libs folder with pre-built DLLs (built by build-deps.sh) -COPY ["libs/", "libs/"] - # Restore dependencies RUN dotnet restore "BackOffice/BackOffice.csproj" --configfile NuGet.config