tenkan/docker/Dockerfile

13 lines
441 B
Text
Raw Normal View History

2022-04-19 10:18:59 +02:00
FROM python:alpine
LABEL maintainer="quentin.ferrand@protonmail.com"
ENV TZ=Europe/Paris
RUN apk add --no-cache --update tzdata supercronic && \
ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone && \
2022-05-01 18:29:26 +02:00
pip install --no-cache-dir -q tenkan && \
2022-04-19 10:18:59 +02:00
mkdir -p /data/rss && \
echo "*/15 * * * * tenkan --feedsfile /etc/feeds.json --config /etc/tenkan.conf update" > /crontab
CMD ["supercronic", "/crontab"]