From e17d41c0ea1970cddd49eb618ad52f58b2be2864 Mon Sep 17 00:00:00 2001 From: Watheq Alshowaiter Date: Wed, 15 Oct 2025 15:38:59 +0300 Subject: [PATCH] fix(docker): add sqlite-dev dependency for pdo_sqlite extension --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 136b91e..5f888f1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,8 @@ RUN apk add --no-cache \ git \ oniguruma-dev \ sqlite \ + sqlite-dev \ + mysql-client \ nodejs \ npm @@ -47,8 +49,4 @@ USER www-data EXPOSE 8000 # Start the application -CMD php artisan config:cache && \ - php artisan route:cache && \ - php artisan view:cache && \ - php artisan migrate --force && \ - php artisan serve --host=0.0.0.0 --port=8000 +CMD ["/bin/sh", "-c", "php artisan config:cache && php artisan route:cache && php artisan view:cache && php artisan migrate --force && php artisan serve --host=0.0.0.0 --port=8000"]