From aa82ee542cde282f46b0c37a526cd01586dc1ba6 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Sun, 1 Mar 2026 17:31:03 -0500 Subject: [PATCH] Fix: add libman restore to Dockerfile for client-side libraries Bootstrap CSS/JS and jQuery were gitignored (wwwroot/lib/) so they were missing from Docker builds, causing all dropdown menus and styling to break on the deployed version. Co-Authored-By: Claude Opus 4.6 --- MoneyMap/Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/MoneyMap/Dockerfile b/MoneyMap/Dockerfile index 216b247..155164c 100644 --- a/MoneyMap/Dockerfile +++ b/MoneyMap/Dockerfile @@ -6,8 +6,13 @@ WORKDIR /src COPY MoneyMap.csproj . RUN dotnet restore +# Install libman CLI for client-side library restore +RUN dotnet tool install -g Microsoft.Web.LibraryManager.Cli +ENV PATH="${PATH}:/root/.dotnet/tools" + # Copy everything else and build COPY . . +RUN libman restore RUN dotnet publish -c Release -o /app/publish # Runtime stage