From 6e02b6970c79ca5304973aba9a5412ea8835eeb5 Mon Sep 17 00:00:00 2001 From: odentas Date: Sat, 27 Dec 2025 16:06:31 +0100 Subject: [PATCH] fix: Forcer consistance de la casse et corriger commande build Docker --- Dockerfile | 4 ++-- tsconfig.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 382fb5a..570edd8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,8 +30,8 @@ RUN ls -la components/ && ls -la components/ui/ || echo "components manquant!" # Nettoyer complètement le cache pour éviter les problèmes de casse sur Linux RUN rm -rf .next node_modules/.cache -# Build Next.js en mode standalone (sans cache) -RUN npm run build -- --no-cache || npm run build +# Build Next.js en mode standalone +RUN npm run build # === ÉTAPE 3 : Production === FROM base AS runner diff --git a/tsconfig.json b/tsconfig.json index 0d264f2..6e72e96 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,7 @@ "allowJs": false, "skipLibCheck": true, "strict": true, + "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "ESNext",