Skip to content

Commit 6f351b6

Browse files
authored
build: install only libpq5 in the Docker image (#74)
1 parent 9829802 commit 6f351b6

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎Dockerfile‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
FROM python:3.14-slim
22

3-
# required for psycopg2
3+
# libpq for psycopg, used by Alembic
44
RUN apt update \
5-
&& apt install -y --no-install-recommends \
6-
build-essential \
7-
libpq-dev \
5+
&& apt install -y --no-install-recommends libpq5 \
86
&& apt clean \
97
&& rm -rf /var/lib/apt/lists/*
108

0 commit comments

Comments
 (0)