fix: deploy
Some checks failed
Deploy / deploy (push) Failing after 1m10s

This commit is contained in:
ext.jeremy.guillot@maxicoffee.domains
2026-03-10 23:16:32 +01:00
parent 944994b7d7
commit c60301d1ca

View File

@@ -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)