Skip to content

mateothegreat/docker-centos-base-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-centos-base-nginx

Docker image with nginx on CentOS 7 ready for php70 fastcgi mateothegreat/docker-centos-base-php70.

Docker Build Status Twitter Follow Skype Contact

To begin, clone this repo:

git clone https://github.com/mateothegreat/docker-centos-base-nginx

Running

Replace '.' for the --volume switch if you do not want to mount in-place the current working directory. To start a container instance:

make run

which is the same as:

docker run  -d                      \
            --rm                    \
            --volume .:/www         \
            --name nginx            \
            appsoa/docker-centos-base-nginx:latest

Building

Update Dockerfile to your liking and run:

make build