memories/go-vod/Dockerfile

17 lines
356 B
Docker
Raw Normal View History

FROM jellyfin/jellyfin:latest as base
2023-03-17 17:41:09 +00:00
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 / /
2023-10-20 22:02:59 +00:00
COPY run.sh /go-vod.sh
2023-03-17 17:41:09 +00:00
EXPOSE 47788
2023-10-20 22:02:59 +00:00
ENTRYPOINT ["/go-vod.sh"]