FROM php:8.1.2-fpm RUN apt-get update && apt-get install -y unzip \ && docker-php-ext-install opcache pdo pdo_mysql bcmath # Install Composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer CMD composer install ; bin/console doctrine:migrations:migrate ; php-fpm