blob: 3f45c396591a8f7519ecf13ef16c87435b6d9e5c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FROM alpine:latest
RUN adduser -D radicale
RUN apk add --no-cache python3 py3-pip
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install --upgrade radicale
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 8080
USER radicale
CMD ["python3", "-m", "radicale", "--debug"]
|