fix: Nettoyer cache Next.js avant build Docker
This commit is contained in:
parent
298d63cceb
commit
6cd207362d
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,9 @@ ENV NODE_ENV=production
|
|||
# Debug: Vérifier que components existe
|
||||
RUN ls -la components/ && ls -la components/ui/ || echo "components manquant!"
|
||||
|
||||
# Nettoyer le cache Next.js pour éviter les problèmes de casse
|
||||
RUN rm -rf .next
|
||||
|
||||
# Build Next.js en mode standalone
|
||||
RUN npm run build
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue