In order to scale out as many docker containers as needed in the cluster, this Dockerfile and configurations are added to run the Laravel application in a stateless manner.
Approach
Had to add in supervisor to manage php-fpm and nginx at the same time.
Lessons Learned
Dockerfile CMD can only run one command like NGINX or PHP-FPM, not both
Supervisor seems to be the community consensus on how to manage more than one service
Cleared errors within the logs
Page still won't load, but code is present and PHP and NGINX are running
Pull Request
Adds latest docker configuration work
Purpose
In order to scale out as many docker containers as needed in the cluster, this Dockerfile and configurations are added to run the Laravel application in a stateless manner.
Approach
Had to add in supervisor to manage php-fpm and nginx at the same time.
Lessons Learned
CMD
can only run one command like NGINX or PHP-FPM, not both