From 6db70e71eb44e8b8dc77ea577623d30074eef1d2 Mon Sep 17 00:00:00 2001 From: Dnny44 Date: Thu, 8 Aug 2024 15:17:36 -0500 Subject: [PATCH] Implement Caddy --- Dockerfile | 7 ++++++- channels.xml | 2 -- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index bd76b21..ed369d6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,13 @@ 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/ +RUN mkdir /epg/guides WORKDIR /epg RUN npm install -CMD npm run grab -- --cron "0 3 * * *" --channels channels/channels.xml \ No newline at end of file +RUN curl -sS https://webi.sh/caddy | sh +RUN source ~/.config/envman/PATH.env + + +CMD npm run grab -- --cron "0 3 * * *" --output guides/guide.xml --channels channels/channels.xml ; caddy file-server --browse --root guides/ \ No newline at end of file diff --git a/channels.xml b/channels.xml index b96b3cb..0b1807e 100644 --- a/channels.xml +++ b/channels.xml @@ -2,9 +2,7 @@ Disney Channel East Disney Channel (East) - Disney Junior East Disney Junior - Disney XD East Disney XD (East) Forever Kids Garfield and Friends