diff options
| author | Justin Fenn <buggito@gmail.com> | 2019-10-27 12:28:56 -0700 |
|---|---|---|
| committer | Justin Fenn <buggito@gmail.com> | 2019-10-27 12:28:56 -0700 |
| commit | 435c30aed9d066ab9bbbe268e80065dc928a9fc6 (patch) | |
| tree | 2d005aa7df15aa3858a2214b29353b2ce24960e4 /Dockerfile.arm64 | |
| parent | c9f4a74af02e08b895cd6a8b8a408b1c0edfb6c4 (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.arm64')
| -rw-r--r-- | Dockerfile.arm64 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index 9b343659f..3c1b2e3ea 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"] |
