Skip to content

The Free Software Media System - Server Backend & API

Really slim down Docker container

Sparkyd00e43735f8f
diff --git a/Dockerfile b/Dockerfile
index f21249e54e..b014afcd25 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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}