|
|
@ -25,7 +25,7 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
|
|
|
|
|
|
|
|
|
|
|
|
COPY --from=qemu /usr/bin/qemu-arm-static /usr/bin
|
|
|
|
COPY --from=qemu /usr/bin/qemu-arm-static /usr/bin
|
|
|
|
|
|
|
|
|
|
|
|
# curl: setup & healcheck
|
|
|
|
# curl: setup & healthcheck
|
|
|
|
RUN apt-get update \
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg curl && \
|
|
|
|
&& apt-get install --no-install-recommends --no-install-suggests -y ca-certificates gnupg curl && \
|
|
|
|
curl -ks https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add - && \
|
|
|
|
curl -ks https://repo.jellyfin.org/debian/jellyfin_team.gpg.key | apt-key add - && \
|
|
|
@ -79,6 +79,5 @@ ENTRYPOINT ["./jellyfin/jellyfin", \
|
|
|
|
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
|
|
|
|
"--ffmpeg", "/usr/lib/jellyfin-ffmpeg/ffmpeg"]
|
|
|
|
|
|
|
|
|
|
|
|
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
|
|
|
|
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
|
|
|
|
# https://github.com/jellyfin/jellyfin/issues/5760#issuecomment-852297561
|
|
|
|
|
|
|
|
CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \
|
|
|
|
CMD curl http://localhost:$(grep -oP '(?<=PublicPort>)[^<]+' /config/config/network.xml)/$(grep -oP '(?<=BaseUrl>)[^<]+' /config/config/network.xml)health \
|
|
|
|
|| exit 1
|
|
|
|
|| exit 1
|
|
|
|