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