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",