From 13607feffb15183f21eec202da768554edfeca92 Mon Sep 17 00:00:00 2001 From: Sarah Withee <2601974+geekygirlsarah@users.noreply.github.com> Date: Sat, 27 Dec 2025 20:34:17 -0500 Subject: [PATCH] Fix psychopg2-binary missing package error in GitHub Actions --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index ee0fc7dff..fac3ce741 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 . .