tenkan/docker/Dockerfile
Quentin Ferrand a2683b9263
Some checks reported errors
continuous-integration/drone/push Build encountered an error
continuous-integration/drone Build is passing
misc improvements
2022-05-01 18:29:26 +02:00

12 lines
441 B
Docker

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 && \
pip install --no-cache-dir -q tenkan && \
mkdir -p /data/rss && \
echo "*/15 * * * * tenkan --feedsfile /etc/feeds.json --config /etc/tenkan.conf update" > /crontab
CMD ["supercronic", "/crontab"]