1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-16 10:59:53 +02:00
Mailu/optional/radicale/Dockerfile
2022-10-12 16:32:27 +02:00

22 lines
345 B
Docker

# syntax=docker/dockerfile-upstream:1.4.3
# webdav image
FROM base
ARG VERSION=local
LABEL version=$VERSION
RUN set -euxo pipefail \
; apk add --no-cache curl
COPY radicale.conf /
RUN echo $VERSION >/version
EXPOSE 5232/tcp
HEALTHCHECK CMD curl -f -L http://localhost:5232/ || exit 1
VOLUME ["/data"]
CMD radicale -S -C /radicale.conf