feat: workerman 增加热重载

This commit is contained in:
xboard
2024-05-23 11:40:52 +08:00
parent 1cfd077ae7
commit dd78dbde5c
4 changed files with 60 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ FROM phpswoole/swoole:php8.1-alpine
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions pcntl bcmath \
RUN install-php-extensions pcntl bcmath inotify \
&& apk --no-cache add shadow supervisor nginx sqlite nginx-mod-http-brotli mysql-client git patch \
&& addgroup -S -g 1000 www && adduser -S -G www -u 1000 www
#复制项目文件以及配置文件