assemblybot/Dockerfile

12 lines
263 B
Docker
Raw Normal View History

2020-06-08 21:40:29 +02:00
FROM debian:buster
2020-06-15 17:06:34 +02:00
RUN apt-get update && apt-get install -y python3 python3-requests cron
2020-06-08 21:40:29 +02:00
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"]