From 3a59f95922a0e562db877dcd6128d107f3debf0a Mon Sep 17 00:00:00 2001 From: Alexis 'Horgix' Chotard Date: Sun, 26 Jun 2016 18:12:36 +0200 Subject: [PATCH] Dockerfile: copy config from sources directly --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index cf64bda..47f4e9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,8 +18,8 @@ RUN apk --update --update-cache upgrade \ RUN wget ${TARBALL} \ && tar xzf ${VERSION}.tar.gz \ - && cd Radicale-${VERSION} && python3 setup.py install + && cd Radicale-${VERSION} && python3 setup.py install \ + && mkdir -p /etc/radicale \ + && cp config /etc/radicale/config -COPY config /srv/radicale.conf - -CMD ["radicale", "-D", "-C", "/srv/radicale.conf"] +CMD ["radicale", "-D", "-C", "/etc/radicale/config"]