Updated dockerfile to use cron in order to set up automated script execution once per day, every morning.
14 lines
380 B
Docker
14 lines
380 B
Docker
FROM debian:12-slim
|
|
|
|
# Install wget and xmlstarlet, an optimized xml parser. Then clear apt cache
|
|
RUN apt update && apt install -y --no-install-recommends \
|
|
bash \
|
|
wget \
|
|
xmlstarlet \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy channel id list to data directory, cleaner script to opt directory
|
|
COPY xml_tv_ids.txt /data/
|
|
COPY xml_cleaner.sh /opt/
|
|
|
|
CMD ["bash"] |