diff options
| author | Andrew Rabert <6550543+nvllsvm@users.noreply.github.com> | 2018-12-20 22:10:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-20 22:10:42 -0500 |
| commit | e163fea9d9fed9f19e81999a7de45f3157db5b3e (patch) | |
| tree | ca32a6ef76f6424ae5847ee2251ac37e90f35b68 /Dockerfile | |
| parent | a8bce31a01225911b69f2c3b59a7397895f7b79b (diff) | |
| parent | b4bd4e3584fafe559345e47feb6f8e1d8c1ed699 (diff) | |
Merge pull request #248 from jellyfin/develop
Master 3.5.2-4
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile index 5147ffb9af..f5e3452250 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,10 +9,10 @@ RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \ FROM microsoft/dotnet:${DOTNET_VERSION}-runtime COPY --from=builder /jellyfin /jellyfin -RUN apt update \ - && apt install -y ffmpeg gosu EXPOSE 8096 +RUN apt update \ + && apt install -y ffmpeg VOLUME /config /media -ENV PUID=1000 PGID=1000 -ENTRYPOINT chown $PUID:$PGID /config /media \ - && gosu $PUID:$PGID dotnet /jellyfin/jellyfin.dll -programdata /config +ENTRYPOINT if [ -n "$PUID$PGUID" ]; \ + then echo "PUID/PGID are deprecated. Use Docker user param." >&2; exit 1; \ + else dotnet /jellyfin/jellyfin.dll -programdata /config; fi |
