feat: try fix ci/cd

This commit is contained in:
Leon 2026-01-08 12:33:06 +01:00
parent 88f45c70d3
commit 2b63ff47e9
1 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,10 @@ WORKDIR /var/www/html
COPY . .
# Installation des dépendances PHP en mode production
RUN apt-get update && apt-get install -y libicu-dev \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl
RUN composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader
# -----------------------------
@ -23,6 +27,11 @@ RUN docker-php-ext-configure pdo_mysql --with-pdo-mysql=mysqlnd \
&& docker-php-ext-install pdo_mysql \
&& docker-php-ext-enable pdo_mysql \
&& php -m | grep -i pdo_mysql
# 👉 Installation de l'extension intl
RUN apt-get update && apt-get install -y libicu-dev \
&& docker-php-ext-configure intl \
&& docker-php-ext-install intl
# On récupère tout ce qui a été préparé dans létape build
COPY --from=build /var/www/html /var/www/html