aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAndrew Rabert <ar@nullsum.net>2019-02-16 01:37:55 -0500
committerAndrew Rabert <ar@nullsum.net>2019-02-16 01:37:55 -0500
commitd9ab654abe6a6790ecb946894dac0c4fc863227b (patch)
treeff09fd90f7bc57074b35ccfeb7582cf22c83b031 /Dockerfile
parentc44f96b727c29b35eb64db295abe6ff3c86cb424 (diff)
Enhance Dockerfiles
* Prevent failure when obj exists from host compile * Enhance readability of disposed stages * Formatting
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