1
0
mirror of https://github.com/zokradonh/kopano-docker synced 2025-06-07 07:56:12 +00:00

set a different workdir, that can be easily mounted over

Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
Felix Bartels 2018-11-19 13:12:31 +01:00
parent 9573d4093c
commit 58081c9d41
3 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@ FROM debian:stretch
LABEL maintainer=az@zok.xyz \
version="2.0"
RUN mkdir -p /kopano/repo /kopano/data /kopano/helper
RUN mkdir -p /kopano/repo /kopano/data /kopano/helper /kopano/path
WORKDIR /kopano/repo
ARG DEBIAN_FRONTEND=noninteractive

View File

@ -46,6 +46,8 @@ ENV SERVICE_TO_START=server
COPY kcconf.py defaultconfigs/ start-service.sh /kopano/
COPY services /kopano/services
WORKDIR /kopano/path
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD [ "/kopano/start-service.sh" ]

View File

@ -97,5 +97,7 @@ COPY start.sh /kopano/start.sh
ENV LANG en_US.UTF-8
WORKDIR /kopano/path
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD [ "/kopano/start.sh" ]