From 1e811c0b4385ab64380a679f3948e6e6b2786a42 Mon Sep 17 00:00:00 2001 From: neckfire Date: Sat, 15 Aug 2026 14:18:15 +0200 Subject: [PATCH] =?UTF-8?q?Retire=20le=20BOM=20UTF-8=20en=20t=C3=AAte=20de?= =?UTF-8?q?=20entrypoint.sh=20et=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- .gitignore | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index edd002b..3d5219b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -__pycache__/ +__pycache__/ *.pyc *.pyo .pytest_cache/ diff --git a/entrypoint.sh b/entrypoint.sh index c2406d7..f10cb8b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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