aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2019-01-13 20:39:42 +0000
committerGitHub <noreply@github.com>2019-01-13 20:39:42 +0000
commitf50a997e4061f537e643f813bd873cb202707f0a (patch)
treed55d53176c528b626f5af5a2a394d3425a25bebf
parent006e81588a677491713457c54be884b26958452b (diff)
parent17c60f46dbe88adc6fa465027b961de014dcd94f (diff)
Merge pull request #580 from nvllsvm/fixbuild
Fix Docker build
-rw-r--r--Dockerfile5
-rw-r--r--Dockerfile.aarch645
2 files changed, 8 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 75700e6f5..e4cbede80 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,10 @@ WORKDIR /repo
COPY . .
RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
&& dotnet clean \
- && dotnet publish --configuration release --output /jellyfin
+ && dotnet publish \
+ --configuration release \
+ --output /jellyfin \
+ Jellyfin.Server
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime
diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64
index da4acc841..cc70ef32f 100644
--- a/Dockerfile.aarch64
+++ b/Dockerfile.aarch64
@@ -6,7 +6,10 @@ COPY . .
RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \
&& find . -type f -exec sed -i 's/netcoreapp2.1/netcoreapp3.0/g' {} \; \
&& dotnet clean \
- && dotnet publish --configuration release --output /jellyfin
+ && dotnet publish \
+ --configuration release \
+ --output /jellyfin \
+ Jellyfin.Server
FROM microsoft/dotnet:${DOTNET_VERSION}-runtime
COPY --from=builder /jellyfin /jellyfin