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

11 lines
298 B
Bash
Raw Normal View History

2024-01-04 16:08:01 +00:00
#!/bin/bash
source /docker/helpers.sh
2024-01-05 00:11:20 +00:00
entrypoint-set-script-name "$0"
2024-01-04 16:08:01 +00:00
# Copy the [storage/] skeleton files over the "real" [storage/] directory so assets are updated between versions
2024-01-05 16:33:08 +00:00
cp --recursive storage.skel/. storage/
2024-01-04 16:08:01 +00:00
# Ensure storage linkk are correctly configured
2024-01-05 16:33:08 +00:00
php artisan storage:link