Set user and group to httpd for fpm processes

Signed-off-by: Qi Zheng <qi.zheng@intel.com>
This commit is contained in:
Qi Zheng
2019-08-21 02:02:12 +00:00
committed by Liu, Jianjun
parent 908f4408cf
commit 44e4797b18
+3
View File
@@ -56,7 +56,10 @@ RUN set -ex \
echo 'daemonize = no'; \
echo; \
echo '[www]'; \
echo 'user = httpd'; \
echo 'group = httpd'; \
echo 'listen = 9000'; \
echo 'pm = dynamic'; \
} | tee php-fpm.d/zz-docker.conf
WORKDIR /var/www/html