15 lines
447 B
Text
15 lines
447 B
Text
|
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"]
|