This is a Dockerfile to build a container image for nginx and php-fpm for php projects
Pulling from Docker Hub
Pull the image from docker hub rather than downloading the git repo. This prevents you having to build the image on every docker host:
docker pull teslarati/web
To simply run the container:
docker run --name teslarati-web-wp -p 8123:80 -d teslarati/web
You can then browse to http://localhost:8123 to verify.