FROM python:3.13-slim@sha256:bf44cdfcb76cd3b41e879bc058fc37ec5872002ccfde7fcb765e218cde0cd79c
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1
RUN apt-get update && apt-get install --no-install-recommends -y iproute2 curl \
    && rm -rf /var/lib/apt/lists/*
WORKDIR /example
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY check_database.py demo_http.py ./
USER 10001:10001
