assemblybot/Dockerfile
2023-07-04 00:50:57 +02:00

12 lines
310 B
Docker

FROM debian:bookworm
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/entrypoint.sh /entrypoint.sh
ADD files/crontab.tpl /crontab.tpl
ENTRYPOINT ["/entrypoint.sh"]