blob: a52c49bf260153e441554503560a066c18a2c7b2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
FROM python:slim-bullseye
COPY scripts /scripts
# hadolint ignore=DL3008
RUN \
apt-get update && \
apt-get install -y --no-install-recommends cron && \
apt-get clean && \
pip install --no-cache-dir -r /scripts/requirements.txt && \
rm -rf /scripts/requirements.txt && \
rm -rf /var/lib/apt/lists/* && \
touch crontab /etc/cron.d/crontab && \
chmod 0644 /etc/cron.d/crontab
CMD ["bash", "/scripts/entrypoint.sh"]
|