FROM php:8.2-fpm

# Installer les extensions nécessaires pour Symfony + Doctrine
RUN docker-php-ext-install pdo pdo_mysql

# (Optionnel) Installer d'autres extensions utiles pour Symfony
# RUN apt-get update && apt-get install -y git unzip libicu-dev \
#     && docker-php-ext-install intl opcache

WORKDIR /var/www/symfony
