Files
projects/Dockers/self-hosted-iptv/Dockerfile
T
Bram c4fcc55a39
Build and Push Docker Images / build-and-push (push) Successful in 2m7s
this would be awsome
2026-02-10 23:53:59 +01:00

17 lines
347 B
Docker

FROM python:3.12-slim
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"]