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 <noreply@anthropic.com>
This commit is contained in:
DJP 2026-02-23 22:30:24 -05:00
parent f95d5efbf7
commit 8df679c9c8

View file

@ -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"