1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Install composer dependencies in Docker entrypoint

This commit is contained in:
Timo Schwarzer
2020-10-01 11:34:56 +02:00
parent f3ee8f2d4c
commit a74d551bd6
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