option to change the port of the webserver
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Ruben Momoa
2024-08-20 17:04:17 +02:00
parent 9c8504a723
commit b4c00d4459
2 changed files with 6 additions and 3 deletions

View File

@@ -4,7 +4,7 @@
set -e
# init nvm
\. $NVM_DIR/nvm.sh
\. "$NVM_DIR"/nvm.sh
if [[ "$BOOT_NPM_INSTALL" = true ]]; then
echo "npm install"
@@ -27,4 +27,4 @@ if [[ "$BOOT_NPM_DEV" = true ]]; then
fi
echo "Staring Laravel"
php /var/www/html/artisan serve --host=0.0.0.0
php /var/www/html/artisan serve --host=0.0.0.0 --port="$WEBSERVER_PORT"