FROM php:8.1-fpm # https://pecl.php.net/package/xdebug RUN pecl channel-update pecl.php.net && \ pecl install xdebug-3.2.0 EXPOSE 9000 WORKDIR /var/www CMD php-fpm