This commit is contained in:
parent
944994b7d7
commit
c60301d1ca
@@ -36,7 +36,7 @@ task('deploy:vendors', function () {
|
|||||||
// mangarr_node_modules volume = cache npm entre les déploiements
|
// mangarr_node_modules volume = cache npm entre les déploiements
|
||||||
desc('Build Webpack Encore assets');
|
desc('Build Webpack Encore assets');
|
||||||
task('webpack_encore:build', function () {
|
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)
|
// Restart Docker containers (entrypoint gère les migrations automatiquement)
|
||||||
|
|||||||
Reference in New Issue
Block a user