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-04 22:33:41 +00:00
|
|
|
# Copy the [storage/] skeleton files over the "real" [storage/] directory so assets are updated between versions
|
2024-01-26 22:51:15 +00:00
|
|
|
run-as-runtime-user cp --force --recursive storage.skel/. ./storage/
|
2024-01-04 16:08:01 +00:00
|
|
|
|
2024-01-04 22:33:41 +00:00
|
|
|
# Ensure storage linkk are correctly configured
|
2024-01-05 16:52:00 +00:00
|
|
|
run-as-runtime-user php artisan storage:link
|