diff --git a/Dockerfile b/Dockerfile index 41b346c..2f34bca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,8 @@ RUN apt-get update && apt-get upgrade -y \ && mkdir -p /usr/src/php/ext/ && cd /usr/src/php/ext/ \ && pecl bundle event \ && pecl bundle ev \ - && pecl bundle parallel \ && docker-php-ext-configure event --with-event-core --with-event-extra --with-event-pthreads \ - && docker-php-ext-install -j$(nproc) ev event parallel \ + && docker-php-ext-install -j$(nproc) ev event \ # Install composer && chmod +x /usr/local/bin/docker-compose-wait \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \ @@ -26,7 +25,7 @@ COPY . /app WORKDIR /app RUN cp -a docker/php/conf.d/. "$PHP_INI_DIR/conf.d/" \ - && composer install --no-dev \ + && composer install --no-dev --ignore-platform-reqs \ && composer clear VOLUME ["/app/sessions"] diff --git a/README.md b/README.md index eda600c..4e04f57 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ Fast, simple, async php telegram api server: ### Manual: 1. Requirements: * ssh / cli - * php 7.4 + * php 7.4 or php 8 * composer * git * Mysql/MariaDB (optional)