Merge pull request #619 from sparky8251/really-slimdown-docker-image

Really slim down Docker container
This commit is contained in:
Andrew Rabert 2019-01-18 21:49:23 -05:00 committed by GitHub
commit 72ab479d1f

View File

@ -26,9 +26,11 @@ COPY --from=builder /jellyfin /jellyfin
COPY --from=ffmpeg /ffmpeg-bin/* /usr/bin/
EXPOSE 8096
VOLUME /config /media
# libfontconfig1 is required for Skia
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y \
libfontconfig1 # Required for Skia \
libfontconfig1 \
&& apt-get clean autoclean \
&& apt-get autoremove \
&& rm -rf /var/lib/{apt,dpkg,cache,log}