Add psycopg dependencies instruction for checkpointing (#564)

* Add psycopg dependencies instruction for checkpointing

* fix: update Dockerfile to improve dependency installation process
This commit is contained in:
CHANGXUBO
2025-09-09 17:28:18 +08:00
committed by GitHub
parent 38ff2f7276
commit 7138ba36bc
2 changed files with 19 additions and 1 deletions

View File

@@ -3,6 +3,11 @@ FROM ghcr.io/astral-sh/uv:python3.12-bookworm
# Install uv.
COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv
# Install system dependencies including libpq
RUN apt-get update && apt-get install -y \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Pre-cache the application dependencies.