diff --git a/build/start-container.sh b/build/start-container.sh index ed34020..5b2a357 100644 --- a/build/start-container.sh +++ b/build/start-container.sh @@ -6,6 +6,13 @@ set -e # init nvm \. $NVM_DIR/nvm.sh + +if [[ "$INSTALL_BEFORE_START" = true ]]; then + echo "composer and npm install" + composer install + npm install +fi + if [ ! -f /var/www/html/artisan ]; then echo "No existing Laravel project found" exit