Files
docker-epg/Dockerfile
Dnny44 d81bd6700e
All checks were successful
Build and Push Image / Build and push image (push) Successful in 3m9s
Fixed COPY path
2024-08-08 12:28:44 -05:00

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