From c60301d1ca8ee6fd22e73eb89577ea225cfff0ec Mon Sep 17 00:00:00 2001 From: "ext.jeremy.guillot@maxicoffee.domains" Date: Tue, 10 Mar 2026 23:16:32 +0100 Subject: [PATCH] fix: deploy --- deploy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.php b/deploy.php index ec97b6e..aa8c5ca 100644 --- a/deploy.php +++ b/deploy.php @@ -36,7 +36,7 @@ task('deploy:vendors', function () { // mangarr_node_modules volume = cache npm entre les déploiements desc('Build Webpack Encore assets'); task('webpack_encore:build', function () { - run('docker run --rm --user $(id -u):$(id -g) -v {{release_path}}:/app -v mangarr_node_modules:/app/node_modules -w /app node:22-alpine sh -c "npm install && npm run build"'); + run('docker run --rm --user $(id -u):$(id -g) -e npm_config_cache=/tmp/npm-cache -v {{release_path}}:/app -v mangarr_node_modules:/app/node_modules -w /app node:22-alpine sh -c "npm install && npm run build"'); }); // Restart Docker containers (entrypoint gère les migrations automatiquement)