pastyr-32 / nginx-php-7

Docker image for nginx and php7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nginx Docker Image - PHP & Nginx

If you want to build an application using PHP, this is a base docker image you can use.

Build

To build this image yourself from the code follow these command

$ docker build -t whitehart/nginx-php-7 .

Demo Run (If you have a public folder with index.php)

$ docker run -it -p 8080:80 -v ~/Sites/php-nginx:/var/www/html:rw --rm --name whitehart-php-local whitehart/nginx-php-7

License

Proprietory

About

Docker image for nginx and php7


Languages

Language:Nginx 100.0%