13 lines
250 B
Docker
13 lines
250 B
Docker
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
|