This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
feed2toot-docker/Dockerfile
2019-11-09 00:31:09 +01:00

16 lines
No EOL
266 B
Docker

FROM python:3-slim
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"]