summaryrefslogtreecommitdiffstats
path: root/2.4/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '2.4/Dockerfile')
-rw-r--r--2.4/Dockerfile5
1 files changed, 2 insertions, 3 deletions
diff --git a/2.4/Dockerfile b/2.4/Dockerfile
index 6d02469..d9d6002 100644
--- a/2.4/Dockerfile
+++ b/2.4/Dockerfile
@@ -11,8 +11,7 @@ RUN set -ex; \
mkdir -p "/var/www/html"; \
# Create directories for Dav data and lock database.
mkdir -p "/var/lib/dav/data"; \
- touch "/var/lib/dav/DavLock"; \
- chown -R www-data:www-data "/var/lib/dav"; \
+ touch "/tmp/DavLock"; \
\
# Configure port
sed -i -e "s|Listen .*|Listen 8080|" "conf/httpd.conf"; \
@@ -56,6 +55,6 @@ RUN set -ex; \
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
-EXPOSE 8080/tcp 4430/tcp
+EXPOSE 8080/tcp 8043/tcp
ENTRYPOINT [ "docker-entrypoint.sh" ]
CMD [ "httpd-foreground" ]