From 025e9fe373be82b06da199f1bb15d78289b29e3b Mon Sep 17 00:00:00 2001 From: syoul Date: Tue, 2 Dec 2025 20:04:17 +0100 Subject: [PATCH] =?UTF-8?q?Fix:=20Installation=20forc=C3=A9e=20(globale=20?= =?UTF-8?q?+=20locale)=20de=20gray-matter=20dans=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile.business | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile.business b/Dockerfile.business index 9ee18e6..ede11cb 100644 --- a/Dockerfile.business +++ b/Dockerfile.business @@ -10,9 +10,15 @@ RUN apk add --no-cache git COPY package.json package-lock.json* ./ # Installation des dépendances Node -# Note : gray-matter et glob sont maintenant dans le package.json RUN npm ci --legacy-peer-deps || npm install --legacy-peer-deps +# --- FIX RADICAL --- +# Force l'installation de gray-matter et glob localement ET globalement +# pour s'assurer que tsx les trouve peu importe le contexte d'exécution +RUN npm install -g gray-matter glob +RUN npm install gray-matter glob +# ------------------- + # Copie du reste du projet COPY . .