Composer's post-autoload-dump hook runs php artisan package:discover, which requires bootstrap/cache and storage/framework subdirs to exist. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
e8b52a255c
commit
b3a2070a9e
@@ -37,6 +37,7 @@ COPY . .
|
||||
COPY --from=node /app/public/build public/build/
|
||||
|
||||
# Autoloader finalisieren
|
||||
RUN mkdir -p bootstrap/cache storage/framework/{sessions,views,cache}
|
||||
RUN composer dump-autoload --optimize --no-dev
|
||||
|
||||
# Berechtigungen setzen
|
||||
|
||||
Reference in New Issue
Block a user