From 5ace0078857457322bbee60c8734250254bdb641 Mon Sep 17 00:00:00 2001 From: Benjamin Bertrand <benjamin.bertrand@esss.se> Date: Mon, 29 Apr 2019 10:44:48 +0200 Subject: [PATCH] Fix python-server dockerfile The working directory shall be writeable to clone the pv repository. --- PythonServer/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PythonServer/Dockerfile b/PythonServer/Dockerfile index ca7fc67..13489c6 100644 --- a/PythonServer/Dockerfile +++ b/PythonServer/Dockerfile @@ -13,6 +13,8 @@ RUN conda update -n base conda \ && conda clean -tipsy COPY --chown=csi:csi pos-python-server.py /app/ +# Make sure the /app directory is owned by csi +RUN chown -R csi:csi /app WORKDIR /app USER csi -- GitLab