Files
docker-epg/Dockerfile
Dnny44 ca1c6eaed5
All checks were successful
Build and Push Image / Build and push image (push) Successful in 2m59s
moved channels mkdir command
2024-08-08 13:11:57 -05:00

13 lines
316 B
Docker

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/channels.xml
WORKDIR /epg
RUN npm install
CMD npm run grab -- --channels /channels/channels.xml