diff --git a/entrypoint.sh b/entrypoint.sh index c00797a..ae84305 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -6,6 +6,7 @@ cp -r storage.skel/* storage/ if [[ ! -e storage/.docker.init ]]; then echo "Fresh installation, initializing database..." + php artisan key:generate php artisan migrate:fresh --force php artisan passport:install chown www-data:www-data storage/oauth*key