aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2019-02-16 01:53:10 -0500
committerGitHub <noreply@github.com>2019-02-16 01:53:10 -0500
commitb86f049e66545a5a7a67e4fa1086e4ef0f9b47fc (patch)
treeac315194b3f0456527da0b9ca3343d661d10ad41 /Dockerfile
parent12fea2459092dff5a7f663c985957eee46761500 (diff)
parentd9ab654abe6a6790ecb946894dac0c4fc863227b (diff)
Merge pull request #910 from nvllsvm/make_it_so
Enhance Dockerfiles
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 266b59f1c..67505a57d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,9 +3,8 @@ ARG DOTNET_VERSION=2
FROM microsoft/dotnet:${DOTNET_VERSION}-sdk as builder
WORKDIR /repo
COPY . .
-RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
- && dotnet clean \
- && dotnet publish \
+ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
+RUN dotnet publish \
--configuration release \
--output /jellyfin \
Jellyfin.Server