assemblybot/Dockerfile
2020-08-14 16:52:08 +02:00

14 lines
347 B
Docker

FROM debian:buster
RUN \
apt-get update && \
apt-get install -y python3 python3-requests cron && \
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
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"]