# Same pinned base as deploy/Dockerfile.api, so the integration suite exercises # the image that ships rather than a different one. FROM python:3.12-slim@sha256:2f17fc044b579bab302c2e8054d3a686e2cb9a83de48e70534b94cd8ebbe06a9 RUN apt-get update \ && apt-get upgrade -y \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY local/requirements.txt local/requirements.lock /app/local/ RUN pip install --no-cache-dir --require-hashes -r local/requirements.lock COPY local /app/local RUN useradd --uid 10001 --create-home dtf USER dtf ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1