Merge pull request #606 from sparky8251/docker-update

Slim down docker image
This commit is contained in:
Andrew Rabert 2019-01-17 20:54:08 -05:00 committed by GitHub
commit 440350a3f6

View File

@ -27,5 +27,9 @@ COPY --from=ffmpeg /ffmpeg-bin/* /usr/bin/
EXPOSE 8096
VOLUME /config /media
RUN apt-get update \
&& apt-get install -y libfontconfig1 --no-install-recommends # needed for Skia
&& apt-get install --no-install-recommends --no-install-suggests -y \
libfontconfig1 # Required for Skia \
&& apt-get clean autoclean \
&& apt-get autoremove \
&& rm -rf /var/lib/{apt,dpkg,cache,log}
ENTRYPOINT dotnet /jellyfin/jellyfin.dll -programdata /config