remove alpine versioning and add necessary apps and configs to enable php debugging

This commit is contained in:
2025-12-14 01:43:06 +03:30
parent 276606d2eb
commit c2d91ffaea

View File

@@ -1,8 +1,14 @@
# PHP-FPM runtime
FROM php:8.5-rc-fpm-alpine3.23
FROM php:8.5-fpm-alpine
WORKDIR /var/www/html
# Install any PHP extensions you need
# 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)