moved caddy to seperate container
All checks were successful
Build and Push Image / Build and push image (push) Successful in 3m0s

This commit is contained in:
2024-08-08 15:49:35 -05:00
parent ab0da7d28e
commit 3d37e65ba6

View File

@@ -6,13 +6,9 @@ RUN mkdir /epg
RUN git clone --depth 1 -b master https://github.com/iptv-org/epg.git /epg RUN git clone --depth 1 -b master https://github.com/iptv-org/epg.git /epg
RUN mkdir /epg/channels RUN mkdir /epg/channels
COPY channels.xml /epg/channels/ COPY channels.xml /epg/channels/
RUN mkdir /epg/guides
WORKDIR /epg WORKDIR /epg
RUN npm install RUN npm install
RUN curl -sS https://webi.sh/caddy | sh
RUN . ~/.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/
CMD npm run grab -- --cron "0 3 * * *" --output guides/guide.xml --channels channels/channels.xml ; caddy file-server --browse --root guides/