Build & Deploy / build (push) Failing after 6s
Le BOM (EF BB BF) précédait le shebang de entrypoint.sh : le noyau ne voyait plus de shebang valide, d'où « exec ./entrypoint.sh: exec format error » et le conteneur regwatch-backend en boucle de redémarrage. Même BOM sur .gitignore, où il neutralisait le premier motif (__pycache__/). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
5 lines
222 B
Bash
5 lines
222 B
Bash
#!/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
|