diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-09-27 23:02:18 -0400 |
|---|---|---|
| committer | Anthony Lavado <anthony@lavado.ca> | 2019-09-27 23:02:18 -0400 |
| commit | 75b7c9ac36ab44e7b49c444bb7f4b710e751f3f0 (patch) | |
| tree | 2bb3376732a750887055f3250b62cd0eb6120b51 /Dockerfile | |
| parent | e4d5e5bf91ca3129b4701463ed5c6bdce5b2115b (diff) | |
Do explicit dotnet publish in Dockerfiles (#1801)
The common.build.sh script was removed in #1793 but the Dockerfiles
still used this to perform the dotnet publish. Remove that call and do
the publish explicitly.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile index 483345e39..69cb5e0dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,8 +14,7 @@ FROM mcr.microsoft.com/dotnet/core/sdk:${DOTNET_VERSION} as builder WORKDIR /repo COPY . . ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 -RUN bash -c "source deployment/common.build.sh && \ - build_jellyfin Jellyfin.Server Release linux-x64 /jellyfin" +RUN dotnet publish Jellyfin.Server --configuration Release --output="/jellyfin" --self-contained --runtime linux-x64 "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none" FROM jellyfin/ffmpeg:${FFMPEG_VERSION} as ffmpeg FROM mcr.microsoft.com/dotnet/core/runtime:${DOTNET_VERSION} |
