tenkan/docker/Dockerfile
Quentin Ferrand 363e436f25
All checks were successful
continuous-integration/drone/push Build is passing
add drone pipeline
2022-04-28 21:52:34 +02:00

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