8 lines
251 B
Bash
8 lines
251 B
Bash
#!/bin/sh
|
|
# Fix ownership of volume-mounted upload directory at container start
|
|
chown -R www-data:www-data /var/www/html/data/uploads 2>/dev/null || true
|
|
|
|
# Datenbank-Migrationen automatisch einspielen
|
|
php /var/www/html/scripts/migrate.php
|
|
|
|
exec "$@"
|