18 lines
427 B
Docker
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"]
|