mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 11:54:42 +01:00
Cleanup
This commit is contained in:
parent
77df7acbb1
commit
1266017bd9
@ -2,11 +2,11 @@ FROM xtrime/telegram-api-server:latest
|
||||
|
||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||
|
||||
RUN echo "opcache.jit=disable" >> "$PHP_INI_DIR/conf.d/xdebug.ini"
|
||||
|
||||
RUN chmod +x /usr/local/bin/install-php-extensions && \
|
||||
install-php-extensions xdebug && \
|
||||
rm /usr/local/bin/install-php-extensions && \
|
||||
echo "" >> "$PHP_INI_DIR/conf.d/xdebug.ini" && \
|
||||
echo "zend_extension=xdebug.so" >> "$PHP_INI_DIR/conf.d/xdebug.ini"
|
||||
rm /usr/local/bin/install-php-extensions
|
||||
|
||||
ADD docker/php/conf.d/. "$PHP_INI_DIR/conf.d/"
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
opcache.jit=disable
|
||||
zend_extension=xdebug.so
|
||||
|
||||
xdebug.max_nesting_level=512
|
||||
xdebug.mode=debug
|
||||
xdebug.start_with_request=yes
|
||||
xdebug.client_host=host.docker.internal
|
||||
xdebug.client_port=9003
|
||||
xdebug.client_port=9003
|
||||
|
Loading…
Reference in New Issue
Block a user