Files
projects/Dockers/self-hosted-iptv/Dockerfile
T
Bram f4030b2bdc
Build and Push Docker Images / build-and-push (push) Successful in 23s
lets go
2026-02-11 00:04:09 +01:00

18 lines
427 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 .
# /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"]