swoole-no-async.dockerfile 239 B

12345678910111213
  1. FROM php:7.3
  2. RUN pecl install swoole > /dev/null && \
  3. docker-php-ext-enable swoole
  4. RUN docker-php-ext-install pdo_mysql > /dev/null
  5. ADD ./ /swoole
  6. WORKDIR /swoole
  7. COPY php.ini /usr/local/etc/php/
  8. CMD php swoole-server-noasync.php