# Use the official PHP-FPM image for PHP 8.3 FROM php:8.3-fpm # Set the working directory WORKDIR /var/www/html # Install Composer COPY --from=composer:latest /usr/bin/composer /usr/bin/composer # Install system dependencies RUN apt-get update && apt-get install -y \ zip \ unzip \ git \ && apt-get clean # Expose port 9000 for PHP-FPM EXPOSE 9000 # Start PHP-FPM CMD ["php-fpm"]