dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories \
&& apk update --no-cache \
&& docker-php-sourceextract \
&& docker-php-ext-install -j$(nproc) pcntl \
&& docker-php-ext-enable opcache pcntl\&& docker-php-source delete \
&& mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" \
&&rm -rf /var/cache/apk/*
```
docker-compose.yml 文件
```
version: "3"
services:
webman:
build: ./:/data"
ports:
- "8888:8080"
command: [ "php", "start.php", "start" ]
```
docker-compose.yml