remove alpine versioning and add necessary apps and configs to enable php debugging
This commit is contained in:
@@ -1,8 +1,14 @@
|
|||||||
# PHP-FPM runtime
|
# PHP-FPM runtime
|
||||||
FROM php:8.5-rc-fpm-alpine3.23
|
FROM php:8.5-fpm-alpine
|
||||||
WORKDIR /var/www/html
|
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
|
# RUN docker-php-ext-install pdo_mysql
|
||||||
|
|
||||||
# Expose port 9000 (default for php-fpm)
|
# Expose port 9000 (default for php-fpm)
|
||||||
|
|||||||
Reference in New Issue
Block a user