Retire le BOM UTF-8 en tête de entrypoint.sh et .gitignore
Build & Deploy / build (push) Failing after 6s
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>
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
__pycache__/
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyo
|
||||
.pytest_cache/
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/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
|
||||
|
||||
Reference in New Issue
Block a user