1
0
Fork 0
get-installer-bootstrap/docker/entrypoint.sh
2026-05-05 09:32:06 +02:00

11 lines
249 B
Bash
Executable file

#!/bin/sh
set -eu
mkdir -p /app/var/data /app/var/bootstrap-cache
chown -R www-data:www-data /app/var
if [ "${APP_ENV:-prod}" != "test" ]; then
php /app/bin/console doctrine:migrations:migrate --no-interaction --allow-no-migration
fi
exec "$@"