fix: Forcer consistance de la casse et corriger commande build Docker

This commit is contained in:
odentas 2025-12-27 16:06:31 +01:00
parent 0692f1089c
commit 6e02b6970c
2 changed files with 3 additions and 2 deletions

View file

@ -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 # Nettoyer complètement le cache pour éviter les problèmes de casse sur Linux
RUN rm -rf .next node_modules/.cache RUN rm -rf .next node_modules/.cache
# Build Next.js en mode standalone (sans cache) # Build Next.js en mode standalone
RUN npm run build -- --no-cache || npm run build RUN npm run build
# === ÉTAPE 3 : Production === # === ÉTAPE 3 : Production ===
FROM base AS runner FROM base AS runner

View file

@ -9,6 +9,7 @@
"allowJs": false, "allowJs": false,
"skipLibCheck": true, "skipLibCheck": true,
"strict": true, "strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true, "noEmit": true,
"esModuleInterop": true, "esModuleInterop": true,
"module": "ESNext", "module": "ESNext",