tenkan/docker/Dockerfile
Quentin Ferrand 4bf102fc9f
Some checks failed
continuous-integration/drone/push Build is failing
pypi and docker fixes
2022-04-24 22:18:08 +02:00

14 lines
447 B
Docker

FROM python:alpine
LABEL maintainer="quentin.ferrand@protonmail.com"
COPY ./conf/* /etc/
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"]