Merge pull request 'Update build/start-container.sh' (#7) from dev into master
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/tag/build Pipeline failed
ci/woodpecker/tag/build-dev Pipeline was successful

Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
2023-08-24 22:59:04 +02:00

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