docker/pixelfed/pixelfed-startup

13 lines
293 B
Bash
Executable file

#!/usr/bin/env bash
set -xe
pixelfed 'php artisan horizon:install'
pixelfed 'php artisan horizon:assets'
pixelfed 'php artisan route:cache'
pixelfed 'php artisan view:cache'
pixelfed 'php artisan media:optimize'
pixelfed 'php artisan config:cache'
pixelfed 'php artisan optimize'
exec "$@"