1
0
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:
Dan Brown
2020-10-31 21:56:48 +00:00
committed by GitHub
2 changed files with 8 additions and 8 deletions

View File

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