Dockerfile: copy config from sources directly

This commit is contained in:
Alexis 'Horgix' Chotard 2016-06-26 18:12:36 +02:00
parent 0a8db786fa
commit 3a59f95922

View File

@ -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"]