mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Merge pull request #2298 from timoschwarzer/composer-install-in-entrypoint
Install composer dependencies in Docker entrypoint
This commit is contained in:
@ -7,8 +7,9 @@ env
|
||||
if [[ -n "$1" ]]; then
|
||||
exec "$@"
|
||||
else
|
||||
composer install
|
||||
wait-for-it db:3306 -t 45
|
||||
php artisan migrate --database=mysql
|
||||
chown -R www-data:www-data storage
|
||||
exec apache2-foreground
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user