pixelfed/contrib/docker/shared/docker-entrypoint.d/01-cache.sh

14 lines
245 B
Bash
Raw Normal View History

#!/bin/bash
set -e
source /lib.sh
entrypoint_log "==> config:cache"
as_www_user php artisan config:cache
entrypoint_log "==> route:cache"
as_www_user php artisan route:cache
entrypoint_log "==> view:cache"
as_www_user php artisan view:cache