You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pixelfed/contrib/docker/shared/docker-entrypoint.d/30-cache.sh

14 lines
288 B
Bash

#!/bin/bash
set -o errexit -o nounset -o pipefail
source /lib.sh
entrypoint_log "==> route:cache"
as_runtime_user php artisan route:cache
entrypoint_log "==> view:cache"
as_runtime_user php artisan view:cache
entrypoint_log "==> config:cache"
as_runtime_user php artisan config:cache