2020-06-08 21:40:29 +02:00
|
|
|
FROM debian:buster
|
|
|
|
|
2020-08-14 16:52:08 +02:00
|
|
|
RUN \
|
|
|
|
apt-get update && \
|
|
|
|
apt-get install -y python3 python3-requests cron && \
|
|
|
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
2020-06-08 21:40:29 +02:00
|
|
|
|
|
|
|
ADD files/main.py /main.py
|
2020-08-14 23:48:12 +02:00
|
|
|
ADD files/entrypoint.sh /entrypoint.sh
|
|
|
|
ADD files/crontab.tpl /crontab.tpl
|
2020-06-08 21:40:29 +02:00
|
|
|
|
2020-08-14 23:48:12 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|