From 56401bae09d5722906bb7c2068165d0a58739bd0 Mon Sep 17 00:00:00 2001 From: syoul Date: Sun, 7 Dec 2025 07:57:19 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20am=C3=A9lioration=20logs=20Dockerfile=20?= =?UTF-8?q?pour=20diagnostic=20Navigation.tsx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Affichage du contenu de Navigation.tsx avant modification - Affichage complet après modification pour vérification - Exit code 1 si la modification échoue - Logs détaillés pour identifier le problème --- Dockerfile.business | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile.business b/Dockerfile.business index 8b73c5a..31ac745 100644 --- a/Dockerfile.business +++ b/Dockerfile.business @@ -77,12 +77,17 @@ RUN mkdir -p .techradar/data && \ # Créer la page Next.js /team et modifier Navigation RUN chmod +x scripts/create-team-page.sh && \ echo "🚀 Exécution de create-team-page.sh..." && \ + echo "📋 État de Navigation.tsx AVANT modification:" && \ + grep -A 3 'href="/overview"' .techradar/src/components/Navigation/Navigation.tsx || echo "Pattern overview non trouvé" && \ ./scripts/create-team-page.sh && \ echo "✅ Script create-team-page.sh terminé" && \ + echo "📋 État de Navigation.tsx APRÈS modification:" && \ + cat .techradar/src/components/Navigation/Navigation.tsx && \ + echo "" && \ echo "📋 Vérification de Navigation.tsx:" && \ - grep -q 'href="/team"' .techradar/src/components/Navigation/Navigation.tsx && echo "✅ Lien Équipe trouvé dans Navigation.tsx" || echo "❌ Lien Équipe NON trouvé dans Navigation.tsx" && \ + grep -q 'href="/team"' .techradar/src/components/Navigation/Navigation.tsx && echo "✅ Lien Équipe trouvé dans Navigation.tsx" || (echo "❌ Lien Équipe NON trouvé dans Navigation.tsx" && exit 1) && \ echo "📋 Vérification de team.tsx:" && \ - test -f .techradar/src/pages/team.tsx && echo "✅ team.tsx existe" || echo "❌ team.tsx n'existe pas" + test -f .techradar/src/pages/team.tsx && echo "✅ team.tsx existe" || (echo "❌ team.tsx n'existe pas" && exit 1) # Builder l'application en mode production pour éviter Fast Refresh # Utiliser WORKDIR pour changer de répertoire de manière fiable