diff --git a/Dockerfile b/Dockerfile index fb020019..aa80964c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,16 @@ -FROM --platform=linux/amd64 python:3.12.4-alpine3.20 +FROM python:3.13-slim-bookworm WORKDIR /app -RUN apk add --no-cache postgresql-dev gcc python3-dev musl-dev +RUN apt-get update && apt-get install -y \ + libpq-dev \ + gcc \ + build-essential \ + libxml2-dev \ + libxmlsec1-dev \ + libxmlsec1-openssl \ + pkg-config \ + && rm -rf /var/lib/apt/lists/* COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt diff --git a/requirements.txt b/requirements.txt index 722db2d9..cc3b4664 100644 --- a/requirements.txt +++ b/requirements.txt @@ -37,4 +37,4 @@ SQLAlchemy==2.0.40 typing_extensions==4.13.2 urllib3==2.3.0 Werkzeug==3.1.3 -xmlsec==1.3.14 +xmlsec==1.3.15