Restauration : Docker + CI/CD + entrypoint
Build & Deploy / build (push) Successful in 28s

This commit is contained in:
Mouigni
2026-08-12 00:09:18 +02:00
parent 1f7d06c26d
commit c4aeedd032
4 changed files with 67 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
#!/bin/sh
set -e
python -c "from database.models import Base; from database.database import engine; Base.metadata.create_all(bind=engine); print('regwatch: schema OK')"
exec uvicorn api.main:app --host 0.0.0.0 --port 8000