TelegramApiServer/Dockerfile-dev
Daniil Gentili 6ef7a898ab Upstream docker image (#161)
Switch to upstream MadelineProto image
2024-07-14 21:01:42 +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"]