From 68e6d172afd9a2bee0d0880184a382d1bb7bc2bc Mon Sep 17 00:00:00 2001 From: Bruno Saraiva Date: Mon, 25 Oct 2021 21:36:00 -0300 Subject: [PATCH] Offering an alternative to composer-cli, with Docker --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index f280b4ad9d..d5909952ca 100644 --- a/README.md +++ b/README.md @@ -51,6 +51,15 @@ $ composer install $ npm install ``` +#### Composer with Docker (alternative) +> You can install the composer dependencies through Docker official image ; +``` +docker run --rm --interactive --tty \ + --volume $PWD:/app \ + --volume ${COMPOSER_HOME:-$HOME/.composer}:/tmp \ + composer install +``` + ### Available CLI commands `_s` comes packed with CLI commands tailored for WordPress theme development :