mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-07 03:52:42 +02:00
- 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
19 lines
524 B
Docker
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/
|