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