1
0
Fork 0
pixelfed/docker/shared/root/docker/entrypoint.d/30-cache.sh

12 lines
296 B
Bash
Raw Normal View History

2024-01-04 16:08:01 +00:00
#!/bin/bash
2024-01-15 17:16:00 +00:00
: "${ENTRYPOINT_ROOT:="/docker"}"
# shellcheck source=SCRIPTDIR/../helpers.sh
source "${ENTRYPOINT_ROOT}/helpers.sh"
2024-01-04 16:08:01 +00:00
2024-01-05 00:11:20 +00:00
entrypoint-set-script-name "$0"
2024-01-04 16:08:01 +00:00
2024-01-05 23:16:26 +00:00
run-as-runtime-user php artisan config:cache
2024-01-04 21:21:00 +00:00
run-as-runtime-user php artisan route:cache
run-as-runtime-user php artisan view:cache