fix: instantiate DB on first launch with Docker

This commit is contained in:
Maël Gangloff
2024-08-15 18:48:47 +02:00
parent 29f4a756d3
commit 5ab099d875
2 changed files with 8 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ if [ "$1" = 'frankenphp' ] || [ "$1" = 'php' ] || [ "$1" = 'bin/console' ]; then
fi
php bin/console lexik:jwt:generate-keypair || true
php bin/console app:update-rdap-servers
setfacl -R -m u:www-data:rwX -m u:"$(whoami)":rwX var
setfacl -dR -m u:www-data:rwX -m u:"$(whoami)":rwX var