Files
adguard-cidre/Dockerfile
T
Djeex afad5825ee
CI / build-and-scan (pull_request) Successful in 1m13s
Update python Docker tag to v3.14
2026-08-22 10:49:25 +00:00

23 lines
456 B
Docker

FROM python:3.14-alpine AS base
ENV TZ=Europe/Paris
RUN apk add --no-cache tzdata curl \
&& cp /usr/share/zoneinfo/$TZ /etc/localtime \
&& echo $TZ > /etc/timezone
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY blocklist_scheduler.py .
FROM base AS test
RUN pip install --no-cache-dir pytest==9.1.1
COPY tests/ tests/
COPY pytest.ini .
FROM base
ENTRYPOINT ["python3", "blocklist_scheduler.py"]