summaryrefslogtreecommitdiffstats
path: root/2.4/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '2.4/Dockerfile')
-rw-r--r--2.4/Dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/2.4/Dockerfile b/2.4/Dockerfile
index 98e05e9..d907b76 100644
--- a/2.4/Dockerfile
+++ b/2.4/Dockerfile
@@ -15,6 +15,8 @@ RUN set -ex; \
touch "/var/lib/dav/DavLock"; \
chown -R www-data:www-data "/var/lib/dav"; \
\
+ # Configure port
+ sed -i -e "s|Listen .*|Listen 8080|" "conf/httpd.conf"; \
# Enable DAV modules.
for i in dav dav_fs; do \
sed -i -e "/^#LoadModule ${i}_module.*/s/^#//" "conf/httpd.conf"; \
@@ -31,9 +33,9 @@ RUN set -ex; \
done; \
\
# Run httpd as "www-data" (instead of "daemon").
- for i in User Group; do \
- sed -i -e "s|^$i .*|$i www-data|" "conf/httpd.conf"; \
- done; \
+ #for i in User Group; do \
+ # sed -i -e "s|^$i .*|$i www-data|" "conf/httpd.conf"; \
+ #done; \
\
# Include enabled configs and sites.
printf '%s\n' "Include conf/conf-enabled/*.conf" \