TelegramApiServer/Dockerfile-dev

17 lines
480 B
Plaintext
Raw Normal View History

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
2024-06-06 12:40:11 +02:00
ADD docker/php/conf.d/. "$PHP_INI_DIR/conf.d/"
EXPOSE 9503
EXPOSE 9003
2024-06-06 12:40:11 +02:00
ENTRYPOINT ["./entrypoint.sh"]