hoàn thành chức năng backup v2 restore

This commit is contained in:
2026-04-02 09:21:03 +07:00
parent 2aa7d68e52
commit 8f2ccf473b
8 changed files with 732 additions and 40 deletions
+4
View File
@@ -10,6 +10,10 @@ FROM python:3.12-slim AS runtime
WORKDIR /app
# postgresql-client provides pg_dump / psql used by the backup/restore API
RUN apt-get update && apt-get install -y --no-install-recommends postgresql-client \
&& rm -rf /var/lib/apt/lists/*
# Copy installed packages from deps stage
COPY --from=deps /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
COPY --from=deps /usr/local/bin /usr/local/bin