RLGHISLENI / nginx-php-fpm

Nginx + PHP-FPM 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian 9 (Stretch) image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Hub; wyveo/nginx-php-fpm nginx 1.15.12 php 7.3.5 License MIT

Introduction

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

Versioning

Docker Tag GitHub Release Nginx Version PHP Version Debian Version
latest master Branch 1.15.12 7.3.5 stretch
php73 php73 Branch 1.15.12 7.3.5 stretch
php72 php72 Branch 1.15.12 7.2.18 stretch
php71 php71 Branch 1.15.12 7.1.29 stretch
php70 php70 Branch 1.15.12 7.0.33 stretch

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
$ cd nginx-php-fpm

followed by

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

or

$ docker build -t nginx-php-fpm:php73 . # PHP 7.3.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

Nginx + PHP-FPM 7.3.x / 7.2.x / 7.1.x / 7.0.x + Composer built on Debian 9 (Stretch) image

License:MIT License


Languages

Language:PHP 79.5%Language:Dockerfile 18.9%Language:Shell 1.6%