# Use the official PHP image for PHP 8
FROM php:8-fpm

# Install required extensions and dependencies
RUN docker-php-ext-install pdo pdo_mysql

# Set the working directory
WORKDIR /var/www

# Expose the port PHP-FPM listens on
EXPOSE 9000
