Update build/start-container.sh
This commit is contained in:
@@ -6,6 +6,13 @@ set -e
|
|||||||
# init nvm
|
# init nvm
|
||||||
\. $NVM_DIR/nvm.sh
|
\. $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
|
if [ ! -f /var/www/html/artisan ]; then
|
||||||
echo "No existing Laravel project found"
|
echo "No existing Laravel project found"
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in New Issue
Block a user