fix: Forcer consistance de la casse et corriger commande build Docker
This commit is contained in:
parent
0692f1089c
commit
6e02b6970c
2 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@
|
|||
"allowJs": false,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"noEmit": true,
|
||||
"esModuleInterop": true,
|
||||
"module": "ESNext",
|
||||
|
|
|
|||
Loading…
Reference in a new issue