fix docker
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 2m35s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s
Build, Push and Deploy / deploy-staging (push) Successful in 21s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 2m35s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s
Build, Push and Deploy / deploy-staging (push) Successful in 21s
Build, Push and Deploy / deploy-production (push) Has been skipped
Build, Push and Deploy / cleanup (push) Successful in 1s
This commit is contained in:
@@ -55,6 +55,11 @@ RUN if [ ! -f config/app.php ]; then \
|
||||
# Install PHP dependencies with --no-scripts to avoid cache path issues
|
||||
RUN composer install --no-interaction --no-progress --optimize-autoloader --no-scripts
|
||||
|
||||
# Fix missing laravel/prompts
|
||||
RUN if [ ! -f vendor/laravel/prompts/src/helpers.php ]; then \
|
||||
composer require laravel/prompts --no-interaction --with-all-dependencies; \
|
||||
fi
|
||||
|
||||
# Now run the scripts manually with proper environment
|
||||
RUN composer run-script post-autoload-dump || true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user