From 6e50e9228adb10f8d04991ea8d2f3b906c084ba5 Mon Sep 17 00:00:00 2001 From: leon-morival Date: Sun, 30 Nov 2025 19:27:49 +0100 Subject: [PATCH] feat: try fix --- Dockerfile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index f69e82b..1967da4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,10 +19,7 @@ FROM laravelsail/php84-composer WORKDIR /var/www/html # 👉 Installation du driver MySQL pour PDO -RUN apt-get update \ - && apt-get install -y php8.4-mysql \ - && apt-get clean \ - && rm -rf /var/lib/apt/lists/* +RUN docker-php-ext-install pdo_mysql # On récupère tout ce qui a été préparé dans l’étape build COPY --from=build /var/www/html /var/www/html