added initial config

This commit is contained in:
Samuel Philipp 2019-11-08 23:56:45 +01:00
parent 671218fec5
commit dad5f7dab5
3 changed files with 19 additions and 0 deletions

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM python:3
MAINTAINER mail@sp-codes.de
RUN pip3 install feed2toot
RUN apt-get update && apt-get -y install cron
COPY cron /etc/cron.d/feed2toot
RUN chmod 0644 /etc/cron.d/feed2toot
RUN crontab /etc/cron.d/feed2toot
WORKDIR feed2toot
CMD ["cron", "-f"]