diff --git a/Dockerfile b/Dockerfile index ee0fc7df..fac3ce74 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ -FROM python:3-slim +FROM python:3.12-slim ENV PYTHONBUFFERED=1 WORKDIR /code +RUN apt-get update && apt-get install -y --no-install-recommends \ + libpq-dev \ + gcc \ + && rm -rf /var/lib/apt/lists/* COPY requirements.txt /code/ RUN pip install --no-cache-dir -r requirements.txt COPY . .