Release / verify (push) Canceled after 0s
CI / checks (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / backend (push) Canceled after 0s
Release / test (push) Canceled after 0s
Release / publish (backend) (push) Canceled after 0s
Release / publish (frontend) (push) Canceled after 0s
Release / publish (proxy) (push) Canceled after 0s
Siehe CHANGELOG.md
17 lines
506 B
Docker
17 lines
506 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# pg_dump/pg_restore für das automatische Sicherheits-Backup vor Schema-
|
|
# Migrationen (app/migrate.py) — bewusst in der Hauptversion des Servers
|
|
# (siehe das Skript für das Warum).
|
|
COPY scripts/install_pg_client.sh /tmp/install_pg_client.sh
|
|
RUN /tmp/install_pg_client.sh 16 && rm /tmp/install_pg_client.sh
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|