Sign inSign up

threew82/nginx-php-fpm

By threew82

•Updated over 8 years ago

Nginx with php7.2-fpm

Image
0

267

threew82/nginx-php-fpm repository overview

⁠Introduction

This is a Dockerfile to build a debian based container image running nginx and php-fpm 7.2.x / 7.0.x

⁠Versioning
Docker TagGitHub ReleaseNginx VersionPHP VersionDebian Version
latestmaster Branch1.13.87.2.1stretch

⁠Building from source

To build from source you need to clone the git repo and run docker build:

$ git clone https://github.com/threew82/nginx-php-fpm.git

followed by

$ docker build -t nginx-php-fpm:latest . # PHP 7.2.x

or

$ docker build -t nginx-php-fpm:php70 . # PHP 7.0.x

⁠Pulling from Docker Hub

$ docker pull threew82/nginx-php-fpm:latest

⁠Running

To run the container:

$ sudo docker run -d threew82/nginx-php-fpm:latest

Default web root:

/usr/share/nginx/html

Tag summary

Content type

Image

Digest

Size

187 MB

Last updated

over 8 years ago

docker pull threew82/nginx-php-fpm