This commit is contained in:
root 2017-10-19 12:55:44 +02:00
commit fa863fc991
2 changed files with 6 additions and 0 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM php:apache
COPY src/ /var/www/html/

3
src/index.php Normal file
View File

@ -0,0 +1,3 @@
<?php
header('Content-Type: application/json');
echo json_encode($_SERVER['REMOTE_ADDR']);