From 957352e2574ff00d84e99d37f5e6bd7c7eb0efa5 Mon Sep 17 00:00:00 2001 From: eko Date: Sun, 29 Mar 2026 15:12:24 +0700 Subject: [PATCH] fix docker --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 483ccf5e..8dc6e0a5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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