Files
projects/Dockers/self-hosted-iptv/Dockerfile
T
Bram 9f87297d35
Build and Push Docker Images / build-and-push (push) Successful in 18s
poahh
2026-02-11 21:06:16 +01:00

19 lines
444 B
Docker

FROM python:3.12-slim
# ffmpeg = live stream; ffprobe = video duration for EPG (both in same package)
RUN apt-get update && apt-get install -y --no-install-recommends ffmpeg \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY main.py .
COPY iptv/ iptv/
# /movies and /series are mounted by the user (video libraries)
# /data is mounted for channels.json
VOLUME ["/movies", "/series", "/data"]
EXPOSE 8080
CMD ["python", "-u", "main.py"]