2023-01-30 02:12:37 +01:00
|
|
|
FROM xtrime/telegram-api-server:latest
|
|
|
|
|
2024-06-06 12:40:11 +02:00
|
|
|
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
|
|
|
|
2024-06-06 12:48:15 +02:00
|
|
|
RUN echo "opcache.jit=disable" >> "$PHP_INI_DIR/conf.d/xdebug.ini"
|
|
|
|
|
2024-06-06 12:40:11 +02:00
|
|
|
RUN chmod +x /usr/local/bin/install-php-extensions && \
|
|
|
|
install-php-extensions xdebug && \
|
2024-06-06 12:48:15 +02:00
|
|
|
rm /usr/local/bin/install-php-extensions
|
2023-01-30 02:12:37 +01:00
|
|
|
|
2024-06-06 12:40:11 +02:00
|
|
|
ADD docker/php/conf.d/. "$PHP_INI_DIR/conf.d/"
|
2023-01-30 02:12:37 +01:00
|
|
|
|
|
|
|
EXPOSE 9503
|
|
|
|
EXPOSE 9003
|
|
|
|
|
2024-06-06 12:40:11 +02:00
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|