summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: e5e59268c8f21ab9840f2b5ebf990b06b86d066b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 /config /collections /etc/radicale
RUN chown radicale /config /collections
COPY ./config /etc/radicale/config

EXPOSE 5232
USER radicale
CMD ["python3", "-m", "radicale", "--debug"]