Out of the box, this image offers a working nginx and php-fpm webserver.
This image is intended to allow to run a PHP application either passing
a PHP application folder webroot as argument, either writing a Dockerfile
-with `nasqueron/nginx-php-fpm` image as base image.
+with `nasqueron/nginx-php7-fpm` image as base image.
Your web directory — if you don't add vhosts — is
`/var/wwwroot/default` (mounted as volume).
-The PHP last 5.6 version is compiled through a build process borrowed from
+The PHP last 7.1 version is compiled through a build process borrowed from
the official PHP Docker image, with [this Dockerfile used](https://github.com/docker-library/php/blob/08bf31dfd492f02a2696c9a30eb85326b1570abd/5.6/fpm/Dockerfile).
We add common extensions like calendar, curl, gd, iconv, libxml, mbstring,
@@ -29,7 +29,7 @@
To rebuild this image:
- docker build --tag nasqueron/nginx-php-fpm .
+ docker build --tag nasqueron/nginx-php7-fpm .
To rebuild a fork of this image based on a modified Dockerfile:
@@ -38,11 +38,11 @@
To launch a container to execute a PHP application in /data/awesome-php-app
with http://localhost:8080 as address:
- docker run -d -v /data/awesome-php-app:/var/wwwroot/default -p 8080:80 nasqueron/nginx-php-fpm
+ docker run -d -v /data/awesome-php-app:/var/wwwroot/default -p 8080:80 nasqueron/nginx-php7-fpm
To create an image for an application with thisas base, create a Dockerfile:
- FROM nasqueron/docker-nginx-php-fpm
+ FROM nasqueron/docker-nginx-php7-fpm
# Debian commands to deploy your application code
# If you need other processes, adds a /etc/service/<service name>/run file