Files
tvj-epg/Containerfile
Lyncoln 8529fca032
Build and Publish TVJ EPG Image / build (push) Successful in 29s
Add health reporting, container probe, and JNN channel support
2026-09-10 10:38:21 -04:00

14 lines
358 B
Docker

FROM python:3.11-slim
WORKDIR /app
COPY epg ./epg
COPY tvj_epj.py .
RUN pip install --no-cache-dir requests
ENV UPDATE_INTERVAL=6 PORT=1876
EXPOSE 1876
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 CMD ["python", "-m", "epg.healthcheck"]
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]