Skip to content

andreisusanu/docker-nginx-php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nginx-php7

Docker image for NGINX and PHP7, started using Supervisor.

Last stable NGINX installed from official stable repository (http://ppa.launchpad.net/nginx/stable/ubuntu) Last PHP7 installed from Ondřej Surý's unofficial repository (http://ppa.launchpad.net/ondrej/php/ubuntu)

Build image

docker build -t andreisusanu/nginx-php7 .

Run container

docker run \
    --name nginx-php7 \
    -p 8000:80 \
    -v /path/to/local/www:/var/www/html \
    andreisusanu/nginx-php7

Test container

http://localhost:8000/

Run bash on container (for debug)

docker exec -it nginx-php7 bash

About

Docker image for NGINX and PHP7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published