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

This commit is contained in:
eko
2026-03-29 15:12:24 +07:00
parent 6b34fcb87a
commit 957352e257

View File

@@ -55,6 +55,11 @@ RUN if [ ! -f config/app.php ]; then \
# Install PHP dependencies with --no-scripts to avoid cache path issues # Install PHP dependencies with --no-scripts to avoid cache path issues
RUN composer install --no-interaction --no-progress --optimize-autoloader --no-scripts 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 # Now run the scripts manually with proper environment
RUN composer run-script post-autoload-dump || true RUN composer run-script post-autoload-dump || true