aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-02-25 16:35:06 +0300
committerGitHub <noreply@github.com>2019-02-25 16:35:06 +0300
commit500c0b9cba68223bb951464f925de8532bd262ab (patch)
treea405ea3c270ddf16e86da29d084dd6dc475fb5fc /Dockerfile
parent2e9a3d45c2a03f930856d038867a7caff01f208f (diff)
parent38ec68c488c0c8e88989dc7c3fdc0824cfe71343 (diff)
Merge pull request #979 from Wuerfelbecher/release-disable-debug
Build Package releases without debug turned on
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 978b0d5409..3562688419 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -4,10 +4,8 @@ FROM microsoft/dotnet:${DOTNET_VERSION}-sdk as builder
WORKDIR /repo
COPY . .
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
-RUN dotnet publish \
- --configuration release \
- --output /jellyfin \
- Jellyfin.Server
+RUN bash -c "source deployment/common.build.sh && \
+ build_jellyfin Jellyfin.Server Release linux-x64 /jellyfin"
FROM jellyfin/ffmpeg as ffmpeg
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime