Files
projects/Dockers/cron-url-caller/Dockerfile
T
Bram 35dc35815b
Build and Push Docker Images / build-and-push (push) Successful in 46s
crontab url caller
2026-09-21 15:05:17 +02:00

20 lines
373 B
Docker

FROM python:3-alpine
RUN apk add --no-cache ca-certificates tzdata
WORKDIR /app
COPY requirements.txt .
RUN python -m pip install --no-cache-dir -r requirements.txt
COPY entrypoint.py /usr/local/bin/
RUN chmod +x /usr/local/bin/entrypoint.py
ENV TZ=Europe/Brussels
ENV URL=""
ENV CRON=""
ENV TIMEOUT=30
ENV ON_STARTUP=true
ENTRYPOINT ["/usr/local/bin/entrypoint.py"]