Files
docker-epg/Dockerfile
Dnny44 2d72a74ee2
All checks were successful
Build and Push Image / Build and push image (push) Successful in 3m11s
Moved channels.xml out of image
2024-08-09 08:24:06 -05:00

12 lines
376 B
Docker

FROM node:20-slim
RUN apt-get update && apt-get install -y git python3 curl
RUN mkdir /epg
RUN git clone --depth 1 -b master https://github.com/iptv-org/epg.git /epg
WORKDIR /epg
RUN npm install
CMD npm run grab -- --output /guides/guide.xml --channels channels/channels.xml ; npm run grab -- --cron "0 3 * * *" --output /guides/guide.xml --channels channels/channels.xml