diff --git a/Dockerfile b/Dockerfile index 496b438..68288a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM php:5-apache -EXPOSE 80 +RUN sed -i 's/Listen 80/Listen ${PORT}/' /etc/apache2/ports.conf + +ENV PORT=8080 + +EXPOSE 8080 WORKDIR /var/www/html diff --git a/README.md b/README.md index 692198c..f27ce40 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ If you wish to support this project,