From 8be75afd9bccf14c69fc21ecccdd00dd9f997f96 Mon Sep 17 00:00:00 2001 From: Jan Kiesewetter Date: Fri, 21 Jul 2017 14:21:32 +0200 Subject: [PATCH] Set WORKDIR to ZAMMAD_DIR To easy run rails command insight the zammad folder the docker WORKDIR is set to the zammad folder All exec commands now run directly in /home/zammad Fixes: #29 --- containers/zammad/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/containers/zammad/Dockerfile b/containers/zammad/Dockerfile index 4301321..b3be2ea 100644 --- a/containers/zammad/Dockerfile +++ b/containers/zammad/Dockerfile @@ -30,3 +30,5 @@ RUN chmod +x /tmp/install-zammad.sh;/bin/bash -l -c /tmp/install-zammad.sh RUN apt-get remove --purge -y build-essential bzip2 git-core libffi-dev libgdbm3 libssl-dev procps zlib1g-dev && \ apt-get autoremove -y && \ rm -rf /var/lib/apt/lists/* + +WORKDIR $ZAMMAD_DIR