Sample for apache-php7 (#42)
* add apache-php7.2 sample Signed-off-by: kouul <maulloohans@gmail.com>master
parent
58589727ff
commit
40c3caa1c8
@ -0,0 +1 @@
|
|||||||
|
FROM php:7.2-apache
|
@ -0,0 +1,3 @@
|
|||||||
|
<?php
|
||||||
|
echo '<h1>Hello World!</h1>';
|
||||||
|
?>
|
@ -0,0 +1,9 @@
|
|||||||
|
version: "3.7"
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
build: app
|
||||||
|
ports:
|
||||||
|
- '80:80'
|
||||||
|
volumes:
|
||||||
|
- ./app:/var/www/html/
|
||||||
|
|
Loading…
Reference in New Issue