Public | Automated Build

Last pushed: a year ago
Short Description
nginx php fpm
Full Description


This is a Dockerfile to build a container image for nginx and php-fpm, with the ability to pull website code from git. The container also has the ability to update templated files with vaiables passed to docker in order to update your settings.

Forked from The README there is useful.

Building and pushing to dockerhub

To push a new version to

make TAG=x.x.x taggedpush"

If you omit setting the TAG on the build, it will try to use the branch you're on as the tag.


To simply run the container:

sudo docker run -d drud/nginx-php-fpm

You can then browse to http://<DOCKER_HOST>:8080 to view the default install files. To find your DOCKER_HOST use the docker inspect to get the IP address.

Docker Pull Command
Source Repository