From 435c30aed9d066ab9bbbe268e80065dc928a9fc6 Mon Sep 17 00:00:00 2001 From: Justin Fenn Date: Sun, 27 Oct 2019 12:28:56 -0700 Subject: use exec form for Dockerfile entrypoint This causes the jellyfin process to be pid 1 in the container. It can receive signals like SIGTERM (from "docker stop", for example) and shut down properly. --- Dockerfile.arm64 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Dockerfile.arm64') diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 9b343659f8..3c1b2e3eab 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -38,7 +38,7 @@ ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1 EXPOSE 8096 VOLUME /cache /config /media -ENTRYPOINT ./jellyfin/jellyfin \ - --datadir /config \ - --cachedir /cache \ - --ffmpeg /usr/bin/ffmpeg +ENTRYPOINT ["./jellyfin/jellyfin", \ + "--datadir", "/config", \ + "--cachedir", "/cache", \ + "--ffmpeg", "/usr/bin/ffmpeg"] -- cgit v1.2.3