Skip to content

Docker container with Nginx + PHP-FPM 7.1.x / 7.0.x Debian 9/8 (Stretch/Jessie) based.

License

Notifications You must be signed in to change notification settings

eddy-k/nginx-php-fpm

 
 

Repository files navigation

Docker Hub; wyveo/nginx-php-fpm nginx 1.13.8 php 7.2.1 License MIT

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 Tag GitHub Release Nginx Version PHP Version Debian Version
latest master Branch 1.13.8 7.2.1 stretch
php70 php70 Branch 1.13.6 7.0.25 jessie

Building from source

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

$ git clone https://github.com/wyveo/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 wyveo/nginx-php-fpm:latest

Running

To run the container:

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

Default web root:

/usr/share/nginx/html

About

Docker container with Nginx + PHP-FPM 7.1.x / 7.0.x Debian 9/8 (Stretch/Jessie) based.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.7%
  • Shell 2.3%