Ergänze Deploy-Gerüst und verweise die Agentenregeln auf CLAUDE.md.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
ec009a187b
commit
89b35ac480
18 files changed
+880
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
# Container-Start: Schreibrechte für storage, Laravel-Caches (nur php-fpm), dann Dienst als www-data.
|
||||
set -e
|
||||
cd /var/www/html
|
||||
|
||||
mkdir -p storage/framework/cache/data storage/framework/sessions storage/framework/views storage/logs bootstrap/cache
|
||||
chown -R www-data:www-data storage bootstrap/cache
|
||||
|
||||
if [ "$1" = "php-fpm" ]; then
|
||||
su-exec www-data php artisan config:cache
|
||||
su-exec www-data php artisan route:cache
|
||||
su-exec www-data php artisan view:cache
|
||||
su-exec www-data php artisan event:cache
|
||||
exec "$@"
|
||||
fi
|
||||
|
||||
exec su-exec www-data "$@"
|
||||
Reference in new issue
Block a user