From 8df679c9c8c537e65ebf61248cdf140db503258f Mon Sep 17 00:00:00 2001 From: DJP Date: Mon, 23 Feb 2026 22:30:24 -0500 Subject: [PATCH] Add psycopg2-binary to Docker build for sync DB access Background tasks use synchronous psycopg2 for database writes after analysis completion. Without this package, analyses stayed stuck on "pending" status in Docker deployments. Co-Authored-By: Claude Opus 4.6 --- backend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 1c539ee..3c9afe7 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -11,7 +11,7 @@ COPY pyproject.toml . # Install dependencies (non-editable, just deps) RUN pip install --no-cache-dir . && \ - pip install --no-cache-dir einops ftfy regex && \ + pip install --no-cache-dir psycopg2-binary einops ftfy regex && \ pip install --no-cache-dir "clip @ git+https://github.com/openai/CLIP.git" && \ pip install --no-cache-dir "deepgaze-pytorch @ git+https://github.com/matthias-k/DeepGaze.git"