We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce3750 commit ec71151Copy full SHA for ec71151
tools/local-env/scripts/install.js
@@ -61,5 +61,7 @@ wait_on( {
61
* @param {string} cmd The WP-CLI command to run.
62
*/
63
function wp_cli( cmd ) {
64
- execSync( `npm --silent run env:cli -- ${cmd} --path=/var/www/${process.env.LOCAL_DIR}`, { stdio: 'inherit' } );
+ const composeFiles = local_env_utils.get_compose_files();
65
+
66
+ execSync( `docker compose ${composeFiles} run --quiet-pull --rm cli ${cmd} --path=/var/www/${process.env.LOCAL_DIR}`, { stdio: 'inherit' } );
67
}
0 commit comments