1
0
Fork 0
pixelfed/docker/shared/root/docker/entrypoint.d/10-storage.sh

11 lines
340 B
Bash
Executable File

#!/bin/bash
source /docker/helpers.sh
entrypoint-set-script-name "$0"
# Copy the [storage/] skeleton files over the "real" [storage/] directory so assets are updated between versions
run-as-runtime-user cp --recursive storage.skel/. ./storage/
# Ensure storage linkk are correctly configured
run-as-runtime-user php artisan storage:link