2fauth: update composer command (#9168)

* chore: update composer command

* Change composer install option from prefer-source to prefer-dist
This commit is contained in:
Tobias
2025-11-15 17:29:47 +01:00
committed by GitHub
parent e40ed2bd80
commit 2eacce169c
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ sed -i -e "s|^APP_URL=.*|APP_URL=http://$IPADDRESS|" \
-e "s|^DB_PASSWORD=$|DB_PASSWORD=$DB_PASS|" .env
export COMPOSER_ALLOW_SUPERUSER=1
$STD composer update --no-plugins --no-scripts
$STD composer install --no-dev --prefer-source --no-plugins --no-scripts
$STD composer install --no-dev --prefer-dist --no-plugins --no-scripts
$STD php artisan key:generate --force
$STD php artisan migrate:refresh
$STD php artisan passport:install -q -n