mirror of
https://github.com/invoiceninja/dockerfiles.git
synced 2025-12-31 19:47:25 +01:00
1
debian/scripts/init.sh
vendored
1
debian/scripts/init.sh
vendored
@@ -46,6 +46,7 @@ if [ "$*" = 'frankenphp php-cli artisan octane:frankenphp' ] || [ "${1#-}" != "$
|
||||
|
||||
# Check for required folders and create if needed, relevant for bind mounts
|
||||
# It is not possible to chown, as we are not executing this script as root
|
||||
[ -d /var/www/html/storage/app/public ] || mkdir -p /var/www/html/storage/app/public
|
||||
[ -d /app/storage/framework/sessions ] || mkdir -p /app/storage/framework/sessions
|
||||
[ -d /app/storage/framework/views ] || mkdir -p /app/storage/framework/views
|
||||
[ -d /app/storage/framework/cache ] || mkdir -p /app/storage/framework/cache
|
||||
|
||||
Reference in New Issue
Block a user