Update build/start-container.sh
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful

This commit is contained in:
2023-08-24 22:50:52 +02:00
parent f9bbc871ae
commit 9052ef6ccd

View File

@@ -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