From 9c6817c9b78738c57dd59385d3e8b4e2012b881d Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 31 Aug 2021 10:16:15 +0200 Subject: [PATCH] installing elab users management script --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index c89aca5..4828833 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,7 +42,12 @@ ENV APACHE_RUN_DIR=/var/run/apache2 ENV APACHE_RUN_USER=deploy ENV APACHE_RUN_GROUP=deploy +USER deploy +ENV PATH "$PATH:/home/deploy/.local/bin" +RUN pip install git+https://git.cpi.imtek.uni-freiburg.de/CPI/elab-users.git + WORKDIR /data +USER root # Start httpd as root, but will switch to deploy user thanks to env variable CMD ["httpd-foreground"] \ No newline at end of file