From 789ee885a2f7968aaf19cd930023f1cea816b2e3 Mon Sep 17 00:00:00 2001 From: syoul Date: Wed, 3 Dec 2025 15:59:05 +0100 Subject: [PATCH] =?UTF-8?q?fix:=20ajouter=20des=20v=C3=A9rifications=20de?= =?UTF-8?q?=20d=C3=A9bogage=20pour=20le=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Vérification que npm est disponible - Vérification du répertoire de travail - Séparation des commandes build:data et build pour identifier quelle étape échoue - Cela devrait aider à identifier pourquoi exit code 127 --- Dockerfile.business | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile.business b/Dockerfile.business index 21c35ad..175720d 100644 --- a/Dockerfile.business +++ b/Dockerfile.business @@ -53,7 +53,10 @@ RUN mkdir -p .techradar/data && \ cp custom.css .techradar/src/styles/custom.css 2>/dev/null || echo "custom.css not found, skipping" # Builder l'application en mode production pour éviter Fast Refresh -RUN cd .techradar && npm run build:data && npm run build +# Vérifier que npm est disponible et que nous sommes dans le bon répertoire +RUN which npm && pwd && ls -la .techradar/package.json +RUN cd .techradar && pwd && which npm && npm --version && npm run build:data +RUN cd .techradar && npm run build # Exposition du port interne EXPOSE 3000