Really slim down Docker container

#606 didn't actually run the new commands due to the comments position.

This fixes the comment location.
This commit is contained in:
Sparky 2019-01-18 10:26:02 -05:00
parent 440350a3f6
commit d00e43735f
1 changed files with 3 additions and 1 deletions

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}