Fixes requirement for using root in docker container to use port 80
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user