feat: try fix

This commit is contained in:
leon-morival 2025-11-30 19:24:21 +01:00
parent 74dcaa3727
commit de4114bb5a
1 changed files with 4 additions and 1 deletions

View File

@ -19,7 +19,10 @@ FROM laravelsail/php84-composer
WORKDIR /var/www/html WORKDIR /var/www/html
# 👉 Installation du driver MySQL pour PDO # 👉 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 # On récupère tout ce qui a été préparé dans létape build
COPY --from=build /var/www/html /var/www/html COPY --from=build /var/www/html /var/www/html