# Base image with FrankenPHP, PHP extensions, Node, and Composer FROM dunglas/frankenphp:latest-php8.3-alpine # Install system dependencies RUN apk add --no-cache \ nodejs \ npm \ git \ mysql-client \ curl # Install PHP extensions RUN install-php-extensions \ pdo_mysql \ opcache \ zip \ gd \ intl \ bcmath \ redis \ pcntl # Install Composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer