From 0924b1a98055b61136fb8834d88b94baa7d8efb5 Mon Sep 17 00:00:00 2001 From: Chris Chen Date: Mon, 22 Jun 2026 16:15:28 -0700 Subject: [PATCH] Update docker --- API/Dockerfile | 7 +++++-- nuget.config => API/nuget.config | 0 2 files changed, 5 insertions(+), 2 deletions(-) rename nuget.config => API/nuget.config (100%) diff --git a/API/Dockerfile b/API/Dockerfile index bce3160..688d169 100644 --- a/API/Dockerfile +++ b/API/Dockerfile @@ -1,10 +1,13 @@ # ---- build ---- FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build WORKDIR /src +# nuget.config carries the DevExpress licensed feed so restore resolves 24.1.3 +# (the public feed only offers the trial 25.x, which renamed TableBorderLineStyle). +COPY nuget.config ./ COPY ROLAC.API/ROLAC.API.csproj ROLAC.API/ -RUN dotnet restore ROLAC.API/ROLAC.API.csproj +RUN dotnet restore ROLAC.API/ROLAC.API.csproj --configfile nuget.config COPY ROLAC.API/ ROLAC.API/ -RUN dotnet publish ROLAC.API/ROLAC.API.csproj -c Release -o /app/publish /p:UseAppHost=false +RUN dotnet publish ROLAC.API/ROLAC.API.csproj -c Release -o /app/publish /p:UseAppHost=false --no-restore # ---- runtime ---- FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final diff --git a/nuget.config b/API/nuget.config similarity index 100% rename from nuget.config rename to API/nuget.config