fix: forcer gray-matter en dépendance runtime du package techradar
This commit is contained in:
@@ -18,6 +18,9 @@ COPY package.json package-lock.json* ./
|
|||||||
# Installation des dépendances Node
|
# Installation des dépendances Node
|
||||||
RUN npm install --legacy-peer-deps --ignore-scripts
|
RUN npm install --legacy-peer-deps --ignore-scripts
|
||||||
|
|
||||||
|
# Patch du package aoe_technology_radar pour inclure gray-matter dans les dépendances runtime
|
||||||
|
RUN node -e "const fs=require('fs');const pkgPath='./node_modules/aoe_technology_radar/package.json';const pkg=JSON.parse(fs.readFileSync(pkgPath,'utf8'));pkg.dependencies=pkg.dependencies||{};pkg.dependencies['gray-matter']='^4.0.3';pkg.scripts=pkg.scripts||{};pkg.scripts.prepare='';fs.writeFileSync(pkgPath,JSON.stringify(pkg,null,2));"
|
||||||
|
|
||||||
# Copie du reste du projet
|
# Copie du reste du projet
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN chmod +x scripts/start-business.sh
|
RUN chmod +x scripts/start-business.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user