Browse Source

installing elab users management script

main
Holger Frey 3 years ago
parent
commit
9c6817c9b7
  1. 5
      Dockerfile

5
Dockerfile

@ -42,7 +42,12 @@ ENV APACHE_RUN_DIR=/var/run/apache2 @@ -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"]
Loading…
Cancel
Save