Browse Source

added initial config

pull/2/head
Samuel Philipp 2 years ago
parent
commit
dad5f7dab5
  1. 2
      .gitignore
  2. 16
      Dockerfile
  3. 1
      cron

2
.gitignore

@ -0,0 +1,2 @@
.idea/
*.iml

16
Dockerfile

@ -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"]

1
cron

@ -0,0 +1 @@
* * * * * /usr/local/bin/feed2toot --debug -c /feed2toot/feed2toot.ini > /proc/1/fd/1 2>/proc/1/fd/2
Loading…
Cancel
Save