From 17e8b3dafeab08a77fa36fc011ab62ddc38b82e5 Mon Sep 17 00:00:00 2001 From: Artur Shiriev Date: Sun, 27 Sep 2026 23:49:40 +0300 Subject: [PATCH] build: install only libpq5 in the Docker image --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d07f894..cbe3fc0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,8 @@ FROM python:3.14-slim -# required for psycopg2 +# libpq for psycopg, used by Alembic RUN apt update \ - && apt install -y --no-install-recommends \ - build-essential \ - libpq-dev \ + && apt install -y --no-install-recommends libpq5 \ && apt clean \ && rm -rf /var/lib/apt/lists/*