add yt-restreamer and build prod docker image

This commit is contained in:
2025-06-07 14:37:51 +05:00
parent ab2f472c2a
commit 09d635b311
3 changed files with 39 additions and 0 deletions

7
.build/prod/compose.yml Normal file
View File

@@ -0,0 +1,7 @@
services:
yt-restream:
build:
context: ../../
dockerfile: .build/prod/yt-restream.Dockerfile
hostname: yt-restream
image: git.shihaam.dev/sarlink/tv/yt-restream

View File

@@ -0,0 +1,12 @@
FROM debian:latest
WORKDIR /root/
RUN apt update \
&& apt install -y python3-pip curl ffmpeg \
&& pip install yt-dlp --break-system-packages
COPY yt-restream.sh .
WORKDIR /var/www/html
CMD python3 -m http.server -d live/ & /root/yt-restream.sh