Sure, here is the final Docker configuration for a Symfony 7.0 project with PHP 8.2, MySQL, Adminer, and FrankenPHP, including the necessary PHP extensions and a command for database creation.
First, the Dockerfile
:
# Dockerfile
FROM php:8.2-fpm
# Install Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer