Lidarr/Dockerfile.multithread
Sean Parsons 01d26cf02d Add GHCR Docker workflow for new-multithreaded-import; multithread scan changes
- Dockerfile.multithread: build from repo root for CI overlay on linuxserver/lidarr:nightly
- docker-ghcr-multithread.yml: push to ghcr.io on branch push + workflow_dispatch
- MediaFiles / RefreshArtist: fork behavior for multithreaded import

Made-with: Cursor
2026-03-25 21:43:22 +00:00

19 lines
524 B
Docker

# CI / context = repo root (lidarr-src). Local builds from parent folder use ../Dockerfile instead.
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS builder
WORKDIR /src
COPY . ./
RUN dotnet publish src/NzbDrone.Console/Lidarr.Console.csproj \
-c Release \
-f net8.0 \
-r linux-musl-x64 \
--self-contained true \
-p:RunAnalyzers=false \
-p:EnforceCodeStyleInBuild=false \
-p:TreatWarningsAsErrors=false \
-o /out
FROM ghcr.io/linuxserver/lidarr:nightly
COPY --from=builder /out/ /app/lidarr/bin/