aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.aarch64
diff options
context:
space:
mode:
authorAndrew Rabert <6550543+nvllsvm@users.noreply.github.com>2018-12-20 22:10:42 -0500
committerGitHub <noreply@github.com>2018-12-20 22:10:42 -0500
commite163fea9d9fed9f19e81999a7de45f3157db5b3e (patch)
treeca32a6ef76f6424ae5847ee2251ac37e90f35b68 /Dockerfile.aarch64
parenta8bce31a01225911b69f2c3b59a7397895f7b79b (diff)
parentb4bd4e3584fafe559345e47feb6f8e1d8c1ed699 (diff)
Merge pull request #248 from jellyfin/develop
Master 3.5.2-4
Diffstat (limited to 'Dockerfile.aarch64')
-rw-r--r--Dockerfile.aarch6417
1 files changed, 17 insertions, 0 deletions
diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64
new file mode 100644
index 0000000000..da4acc8412
--- /dev/null
+++ b/Dockerfile.aarch64
@@ -0,0 +1,17 @@
+ARG DOTNET_VERSION=3.0
+
+FROM microsoft/dotnet:${DOTNET_VERSION}-sdk as builder
+WORKDIR /repo
+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
+
+FROM microsoft/dotnet:${DOTNET_VERSION}-runtime
+COPY --from=builder /jellyfin /jellyfin
+EXPOSE 8096
+RUN apt update \
+ && apt install -y ffmpeg
+VOLUME /config /media
+ENTRYPOINT dotnet /jellyfin/jellyfin.dll -programdata /config