# Global build arguments. Stages using UID/GID must redeclare them
# (bare `ARG UID`) to bring them into scope; the defaults are set here.
-ARG PYTHON_IMAGE=python:3.11-trixie
+ARG PYTHON_IMAGE=python:3.12-trixie
ARG UID=8100
ARG GID=8100
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -r requirements.txt
-RUN --mount=type=cache,target=/root/.cache/pip \
- pip install \
- psycopg2-binary \
- django-debug-toolbar==3.2.2
RUN addgroup --gid $GID app && \
adduser --gid $GID --home /app --uid $UID app