File tree Expand file tree Collapse file tree 4 files changed +12
-16
lines changed
Expand file tree Collapse file tree 4 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 11FROM xtrime/telegram-api-server:latest
22
3- RUN pecl install xdebug \
4- && echo "" >> "$PHP_INI_DIR/conf.d/xdebug.ini" \
5- && echo "zend_extension=xdebug.so" >> "$PHP_INI_DIR/conf.d/xdebug.ini"
3+
4+ ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
5+
6+ RUN chmod +x /usr/local/bin/install-php-extensions \
7+ && install-php-extensions xdebug
8+
9+ ADD dev/xdebug.ini $PHP_INI_DIR/conf.d/xdebug.ini
610
711EXPOSE 9504
12+ EXPOSE 9003
813
914ENTRYPOINT php server.php --docker
Original file line number Diff line number Diff line change 1+ opcache.jit =disable
2+ zend_extension =xdebug.so
3+
14xdebug.max_nesting_level =512
25xdebug.mode =debug
36xdebug.start_with_request =yes
47xdebug.client_host =host.docker.internal
5- xdebug.client_port =9003
8+ xdebug.client_port =9003
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments