Dockerfile to setup:
- Ubuntu 20.04
- Apache2.4
- PHP 7.3 optimised using PHP-FPM
- Node 12
- pm2 (to manage php daemons)
You can view the build image on dockerhub.
Uses elements of the following resources:
- https://hub.docker.com/r/silintl/php7/~/dockerfile/
- https://hub.docker.com/r/khanhicetea/php7-fpm-docker/~/dockerfile/
- https://github.com/smrutiranjantripathy/apache-php-fpm/blob/master/Dockerfile
- https://www.tqhosting.com/kb/464/How-to-install-PHP-70-PHP-FPM-on-Ubuntu-1604-LTS-Xenial-Xerus.html
- https://www.howtoforge.com/tutorial/apache-with-php-fpm-on-ubuntu-16-04/
- Thanks to:
beveradb/docker-apache-php7-fpm