From 001ef073f620b97fd6806cfbfa8ada2ba7be24ba Mon Sep 17 00:00:00 2001 From: adrianvu Date: Tue, 5 Dec 2017 17:39:04 +0800 Subject: [PATCH 1/2] Update README.md Previously had an error connection refused. Fix "-p 8080:80" to "-p 80:80". Port 80 instead of 8080 was exposed in Dockerfile. Now it should work when trying to access from outside the container. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6780a85..99e14cd 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ $ docker run -d -P bylexus/apache-php7 With all the options: ```bash -$ docker run -d -p 8080:80 \ +$ docker run -d -p 80:80 \ -v /home/user/webroot:/var/www \ -e PHP_ERROR_REPORTING='E_ALL & ~E_STRICT' \ bylexus/apache-php7 From 6a9c9112ae3ce81eca2d5fa48aba31113a9c6514 Mon Sep 17 00:00:00 2001 From: adrianvu Date: Wed, 3 Jan 2018 15:51:05 +0800 Subject: [PATCH 2/2] Update Dockerfile to include curl --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4c61291..b5ecf57 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ RUN apt-get update && \ php-zip \ php-soap \ php-xdebug \ + php-curl \ composer COPY apache_default /etc/apache2/sites-available/000-default.conf