summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2023-12-31 22:08:20 +0200
committerPaul Buetow <paul@buetow.org>2023-12-31 22:08:20 +0200
commit5cd21aa26581553810f06dba9a5038153affe5d2 (patch)
treec992027f266015d59be53d3acbd94ed97f5e87cb /Dockerfile
parent889194103729edf60f0ef45f176b1a4a8aeeb2ed (diff)
more on this
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