added docker
linter / quality (pull_request) Successful in 1m11s
tests / ci (8.4) (pull_request) Successful in 1m20s

This commit is contained in:
2026-03-27 20:11:01 +01:00
parent 6394912791
commit 591f3d4743
9 changed files with 272 additions and 50 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -e
if [ ! "$(ls -A /var/www/storage)" ]; then
echo "Initializing storage directory..."
cp -R /var/www/storage-init/. /var/www/storage
chown -R www-data:www-data /var/www/storage
fi
rm -rf /var/www/storage-init
php artisan config:cache
php artisan route:cache
exec "$@"