Skip to content

Commit

Permalink
Consolidate entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
nvllsvm committed Aug 14, 2018
1 parent e45dd28 commit ea5a777
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
9 changes: 7 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,10 @@ VOLUME /media

HEALTHCHECK CMD wget -q http://localhost:8096/swagger -O /dev/null || exit 1

COPY entrypoint.sh /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT \
chown $PUID:$PGID /config /media && \
su-exec $PUID:$PGID \
mono /emby/MediaBrowser.Server.Mono.exe \
-programdata /config \
-ffmpeg /usr/bin/ffmpeg \
-ffprobe /usr/bin/ffprobe
7 changes: 0 additions & 7 deletions docker/entrypoint.sh

This file was deleted.

0 comments on commit ea5a777

Please sign in to comment.