Merge pull request #315 from magikmw/master

Fix requirement for using root in docker container to use port 80
This commit is contained in:
Ondřej Žára
2022-08-03 11:08:35 +02:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -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
+1 -1
View File
@@ -24,7 +24,7 @@ If you wish to support this project, <a href='https://www.paypal.com/cgi-bin/web
## Docker Installation:
1. Build `docker build -t wwwsqldesigner .`
2. Run `docker run -d -p 8080:80 wwwsqldesigner`
2. Run `docker run -d -p 8080:8080 wwwsqldesigner`
3. Visit http://127.0.0.1:8080
# News