feat: PHP 增加 supervisor

This commit is contained in:
zhengkunwang223
2023-11-30 17:52:26 +08:00
parent 95069a81d4
commit 89cec863f7
67 changed files with 1834 additions and 15 deletions
+2
View File
@@ -17,6 +17,8 @@ RUN curl -o /usr/bin/composer https://mirrors.aliyun.com/composer/composer.phar
&& chmod +x /usr/bin/composer
ENV COMPOSER_HOME=/tmp/composer
RUN apk add supervisor \
&& mkdir -p /var/log/supervisor
# php image's www-data user uid & gid are 82, change them to 1000 (primary user)
RUN usermod -u 1000 www-data && groupmod -g 1000 www-data