From 11912055ec29ef0f538ce2ecb312c54d4831fee9 Mon Sep 17 00:00:00 2001 From: Abdelrahman Omran Date: Sun, 24 Jun 2018 04:00:19 +0200 Subject: [PATCH] Update global composer install instructions (#1634) --- DOCUMENTATION/content/documentation/index.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/DOCUMENTATION/content/documentation/index.md b/DOCUMENTATION/content/documentation/index.md index adc8429f..013d9edf 100644 --- a/DOCUMENTATION/content/documentation/index.md +++ b/DOCUMENTATION/content/documentation/index.md @@ -1184,20 +1184,10 @@ server_name laravel.test; Enabling Global Composer Install during the build for the container allows you to get your composer requirements installed and available in the container after the build is done. -1 - Open the `docker-compose.yml` file +1 - Open the `.env` file -2 - Search for the `COMPOSER_GLOBAL_INSTALL` argument under the Workspace Container and set it to `true` +2 - Search for the `WORKSPACE_COMPOSER_GLOBAL_INSTALL` argument under the Workspace Container and set it to `true` -It should be like this: - -```yml - workspace: - build: - context: ./workspace - args: - - COMPOSER_GLOBAL_INSTALL=true - ... -``` 3 - Now add your dependencies to `workspace/composer.json` 4 - Re-build the Workspace Container `docker-compose build workspace`