Update build/start-container.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user