From 94d619229b6eeeca66cddf703538d7a0f819ebb9 Mon Sep 17 00:00:00 2001 From: nitrobass24 Date: Mon, 6 Apr 2026 21:40:26 -0500 Subject: [PATCH] Fix Docker build: specify net8.0 framework for publish The project multi-targets net8.0 and net8.0-windows, so dotnet publish requires an explicit --framework to disambiguate. Co-Authored-By: Claude Opus 4.6 (1M context) --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 9fe50225c..6772bcc66 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,6 +35,7 @@ COPY LICENSE LICENSE RUN dotnet publish src/NzbDrone/Prowlarr.csproj \ -c Release \ + -f net8.0 \ -r "$(cat /tmp/rid)" \ --self-contained \ --no-restore \