summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index e5e5926..0947b78 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -5,9 +5,12 @@ RUN apk add --no-cache python3 py3-pip
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade radicale
-RUN mkdir /config /collections /etc/radicale
-RUN chown radicale /config /collections
+RUN mkdir /auth /collections /etc/radicale
+RUN chown radicale /collections
COPY ./config /etc/radicale/config
+COPY ./htpasswd-test /auth/htpasswd
+RUN chown 700 /auth
+RUN chown 600 /auth/htpasswd
EXPOSE 5232
USER radicale