mirror of
https://github.com/mykitserver/feed2toot-docker.git
synced 2025-12-08 01:39:26 +01:00
added initial config
This commit is contained in:
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
.idea/
|
||||||
|
*.iml
|
||||||
16
Dockerfile
Normal file
16
Dockerfile
Normal 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"]
|
||||||
Reference in New Issue
Block a user