Przeglądaj źródła

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

Really slim down Docker container
Andrew Rabert 6 lat temu
rodzic
commit
72ab479d1f
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      Dockerfile

+ 3 - 1
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}