From 9052ef6ccd99c4361c2b8b528a8a567182fdf257 Mon Sep 17 00:00:00 2001 From: vista Date: Thu, 24 Aug 2023 22:50:52 +0200 Subject: [PATCH] Update build/start-container.sh --- build/start-container.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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