TelegramApiServer/Dockerfile-dev
2024-06-17 19:25:51 +02:00

17 lines
466 B
Plaintext

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
ADD dev/. "$PHP_INI_DIR/conf.d/"
EXPOSE 9503
EXPOSE 9003
ENTRYPOINT ["./entrypoint.sh"]