mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 11:54:42 +01:00
17 lines
466 B
Plaintext
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"]
|