|
|
|
@ -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"] |