Accidentally hardcoded 7.3 in.
This commit is contained in:
parent
924292c8ab
commit
f5a43da948
1 changed files with 2 additions and 2 deletions
|
|
@ -49,9 +49,9 @@ RUN bash /app/configure-nginx.php{{PHPVERSION}}.sh && \
|
|||
sed -i "s/{{PHP}}/{{PHPVERSION}}/g" /etc/nginx/sites-enabled/default && \
|
||||
sed -i "s/{{PHP}}/{{PHPVERSION}}/g" /etc/service/php-fpm/run && \
|
||||
# Enable status panel
|
||||
sed -i -e "s/;pm.status_path/pm.status_path/g" /etc/php/7.3/fpm/pool.d/www.conf && \
|
||||
sed -i -e "s/;pm.status_path/pm.status_path/g" /etc/php/*/fpm/pool.d/www.conf && \
|
||||
# Using environment variables in config files works, it would seem. Neat!
|
||||
sed -i -e "s/pm.max_children = 5/pm.max_children = \${PHPFPM_MAX_CHILDREN}/g" /etc/php/7.3/fpm/pool.d/www.conf
|
||||
sed -i -e "s/pm.max_children = 5/pm.max_children = \${PHPFPM_MAX_CHILDREN}/g" /etc/php/*/fpm/pool.d/www.conf
|
||||
|
||||
# On build, add anything in with Dockerfile into /app
|
||||
ONBUILD ADD ./ /app
|
||||
|
|
|
|||
Loading…
Reference in a new issue