Implement Caddy
Some checks failed
Build and Push Image / Build and push image (push) Failing after 2m23s

This commit is contained in:
2024-08-08 15:17:36 -05:00
parent 5987e20465
commit 6db70e71eb
2 changed files with 6 additions and 3 deletions

View File

@@ -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
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/