assemblybot/Dockerfile
2020-06-08 21:40:29 +02:00

11 lines
241 B
Docker

FROM debian:buster
RUN apt install -y python3 python3-requests cron
ADD files/main.py /main.py
ADD files/crontab /etc/cron.d/assembly-cron
RUN chmod 0644 /etc/cron.d/assembly-cron
RUN crontab /etc/cron.d/assembly-cron
CMD ["cron", "-f"]