docker-python-runner/docker/Dockerfile
Paolo Asperti 6468a01914
All checks were successful
continuous-integration/drone/tag Build is passing
added logrotate and crond entrypoint
2022-09-20 11:23:37 +02:00

10 lines
288 B
Docker

FROM alpine:3.16
COPY logrotate-cron /etc/logrotate.d
RUN \
apk -U add python3 py3-pip py3-requests py3-dateutil py3-beautifulsoup4 logrotate && \
pip3 install fdb mysql-connector-python==8.0.29 telepot caldav
ENTRYPOINT ["/usr/sbin/crond", "-f", "-d8", "-L", "/var/log/cron.log"]