Files
ninja-php/docker/php/Dockerfile

15 lines
363 B
Docker

# PHP-FPM runtime
FROM php:8.5-fpm-alpine
WORKDIR /var/www/html
# Install PHP Xdebug Extention
RUN apk add --no-cache $PHPIZE_DEPS linux-headers && pecl install xdebug
# Enable PHP installed extensions
RUN docker-php-ext-enable xdebug
# Install PHP bundled extensions
# RUN docker-php-ext-install pdo_mysql
# Expose port 9000 (default for php-fpm)
EXPOSE 9000