mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-29 20:09:05 +01:00
Fix
This commit is contained in:
parent
0f8ae61319
commit
77df7acbb1
@ -1,12 +1,16 @@
|
||||
FROM xtrime/telegram-api-server:latest
|
||||
|
||||
ADD docker/php/conf.d/. "$PHP_INI_DIR/conf.d/"
|
||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||
|
||||
RUN pecl install xdebug \
|
||||
&& echo "" >> "$PHP_INI_DIR/conf.d/xdebug.ini" \
|
||||
&& echo "zend_extension=xdebug.so" >> "$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"
|
||||
|
||||
ADD docker/php/conf.d/. "$PHP_INI_DIR/conf.d/"
|
||||
|
||||
EXPOSE 9503
|
||||
EXPOSE 9003
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user