Files
Budget_Tool_Martinhal/backend/docker-entrypoint.sh
T

7 lines
212 B
Bash
Raw Normal View History

2026-10-29 20:40:02 +00:00
#!/bin/sh
set -e
python -m app.preupgrade
alembic upgrade head
python -m app.bootstrap
exec uvicorn app.main:app --host 0.0.0.0 --port 8000 --proxy-headers --forwarded-allow-ips='*' --workers "${API_WORKERS:-2}"