diff --git a/Dockerfile b/Dockerfile index 1967da4..f69e82b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,10 @@ FROM laravelsail/php84-composer WORKDIR /var/www/html # 👉 Installation du driver MySQL pour PDO -RUN docker-php-ext-install pdo_mysql +RUN apt-get update \ + && apt-get install -y php8.4-mysql \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* # On récupère tout ce qui a été préparé dans l’étape build COPY --from=build /var/www/html /var/www/html