diff --git a/Dockerfile b/Dockerfile index 0869142..15c2275 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,12 @@ RUN apt-get update && apt-get upgrade -y \ && mkdir -p /usr/src/php/ext/ && cd /usr/src/php/ext/ \ && pecl bundle ev \ && docker-php-ext-install -j$(nproc) ev \ + # Install PrimeModule for AuthKey generation speedup + && git clone https://github.com/danog/PrimeModule-ext \ + && cd PrimeModule-ext && make -j$(nproc) \ + && make install \ + && cd ../ \ + && rm -rf PrimeModule-ext/ \ # Install composer && chmod +x /usr/local/bin/docker-compose-wait \ && curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \