aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.arm
diff options
context:
space:
mode:
authorJustin Fenn <buggito@gmail.com>2019-10-27 12:28:56 -0700
committerJustin Fenn <buggito@gmail.com>2019-10-27 12:28:56 -0700
commit435c30aed9d066ab9bbbe268e80065dc928a9fc6 (patch)
tree2d005aa7df15aa3858a2214b29353b2ce24960e4 /Dockerfile.arm
parentc9f4a74af02e08b895cd6a8b8a408b1c0edfb6c4 (diff)
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.
Diffstat (limited to 'Dockerfile.arm')
-rw-r--r--Dockerfile.arm8
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile.arm b/Dockerfile.arm
index f8c8511ae..fd3d1e070 100644
--- a/Dockerfile.arm
+++ b/Dockerfile.arm
@@ -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"]