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