4 lines
173 B
Bash
4 lines
173 B
Bash
#!/bin/sh
|
|
# Fix ownership of volume-mounted upload directory at container start
|
|
chown -R www-data:www-data /var/www/html/public/static/uploads 2>/dev/null || true
|
|
exec "$@"
|