diff --git a/Dockerfile b/Dockerfile index d602226..8beda39 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,7 @@ RUN apk update && \ RUN apk add --no-cache \ apache2 \ apache2-proxy \ + # PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites - https://php-fpm.org php7-fpm \ php7 \ php7-apcu \ diff --git a/run.sh b/run.sh index e01d1f3..5411918 100644 --- a/run.sh +++ b/run.sh @@ -5,6 +5,6 @@ # Cron requires that each entry in a crontab end in a newline character. If the last entry in a crontab is missing the newline, cron will consider the crontab (at least partially) broken and refuse to install it. (crontab -l; echo "") | crontab - -# Start PHP-FPM and Apache +# Start Apache and PHP-FPM exec /usr/sbin/httpd -D FOREGROUND -f /etc/apache2/httpd.conf & exec /usr/sbin/php-fpm7 -F \ No newline at end of file