This commit is contained in:
parent
751fb1e74b
commit
19f1633c7a
@@ -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) -e npm_config_cache=/tmp/npm-cache -v {{release_path}}:/app -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 -e PUPPETEER_SKIP_DOWNLOAD=1 -v {{release_path}}:/app -w /app node:22-alpine sh -c "npm install && npm run build"');
|
||||
});
|
||||
|
||||
// Restart Docker containers (entrypoint gère les migrations automatiquement)
|
||||
|
||||
Reference in New Issue
Block a user