You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Thoni 4cd8ada9ab README 7 vuotta sitten
.gitignore init 8 vuotta sitten
Dockerfile init 8 vuotta sitten
README.md README 7 vuotta sitten
apache2.conf init 8 vuotta sitten
docker-php-ext-configure init 8 vuotta sitten
docker-php-ext-enable init 8 vuotta sitten
docker-php-ext-install init 8 vuotta sitten
php-apache.ini init 8 vuotta sitten
php-cli.ini init 8 vuotta sitten
run.sh init 8 vuotta sitten

README.md

Docker for php 7.0 with apache 2.4

Why?

This docker file allows you to deploy a php 7.0 application in a couple of seconds on any server configuration. See docker help for more information.

Usage

Build the image:

git clone https://git.rthoni.com/robin.thoni/docker-php7.0-apache
cd docker-php7.0-apache
docker build -t php7.0-apache .

Run a container:

docker run -d -v /path/to/my/php/application/:/var/www/html -p 8000:80 --name=container-my-php-application-apache php7.0-apache

NB: /path/to/my/application/public/ folder must exists

Browse:

Open https://127.0.0.1:8000/ in a web browser.