go-vod: update Dockerfile to use jellyfin

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/953/head
Varun Patil 2023-11-20 11:35:45 -08:00
parent 9eed70f848
commit c334c4645d
1 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,14 @@
FROM linuxserver/ffmpeg:latest
FROM jellyfin/jellyfin:latest as base
RUN rm -rf /jellyfin && \
ln -s /usr/lib/jellyfin-ffmpeg/ffmpeg /usr/local/bin/ffmpeg && \
ln -s /usr/lib/jellyfin-ffmpeg/ffprobe /usr/local/bin/ffprobe
FROM scratch
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
COPY --from=base / /
COPY run.sh /go-vod.sh
EXPOSE 47788