diff --git a/Resources/docker/app/Dockerfile b/Resources/docker/app/Dockerfile index 756abb3ce..e2e551b75 100644 --- a/Resources/docker/app/Dockerfile +++ b/Resources/docker/app/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10.16-alpine3.21 AS builder +FROM python:3.11.11-alpine3.21 AS builder ENV PYTHONUNBUFFERED=1 @@ -11,7 +11,7 @@ RUN apk add --no-cache --virtual .build-deps gcc g++ musl-dev \ postgresql-dev binutils rust cargo && \ python3 -m pip install -r requirements.txt --no-cache-dir -FROM python:3.10.16-alpine3.21 +FROM python:3.11.11-alpine3.21 ENV PYTHONUNBUFFERED=1 ENV DJANGO_SETTINGS_MODULE='config.docker-compose' @@ -19,7 +19,7 @@ ENV DJANGO_SETTINGS_MODULE='config.docker-compose' RUN mkdir /code WORKDIR /code -COPY --from=builder /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages +COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages COPY --from=builder /usr/local/bin /usr/local/bin ADD . /code/ diff --git a/requirements.txt b/requirements.txt index 2da7d57ed..2f26bc48e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,4 +11,4 @@ mimeparse==0.1.3 psycopg2-binary==2.9.10 python-dateutil==2.8.2 python-mimeparse==1.6.0 -drf-spectacular==0.27.2 +drf-spectacular==0.28.0