|
|
|
@ -63,13 +63,13 @@ RUN pip install git+https://git.cpi.imtek.uni-freiburg.de/CPI/elab-users.git
@@ -63,13 +63,13 @@ RUN pip install git+https://git.cpi.imtek.uni-freiburg.de/CPI/elab-users.git
|
|
|
|
|
WORKDIR /data |
|
|
|
|
|
|
|
|
|
# Start httpd as root, but will switch to deploy user thanks to env variable |
|
|
|
|
CMD [ |
|
|
|
|
"sudo", |
|
|
|
|
"APACHE_PID_FILE=/var/run/apache2/apache2.pid" , |
|
|
|
|
"APACHE_LOCK_DIR=/var/lock/apache2", |
|
|
|
|
"APACHE_LOG_DIR=/var/log/apache2", |
|
|
|
|
"APACHE_RUN_DIR=/var/run/apache2", |
|
|
|
|
"APACHE_RUN_USER=deploy", |
|
|
|
|
"APACHE_RUN_GROUP=deploy", |
|
|
|
|
"httpd-foreground" |
|
|
|
|
CMD [\ |
|
|
|
|
"sudo", \ |
|
|
|
|
"APACHE_PID_FILE=/var/run/apache2/apache2.pid" , \ |
|
|
|
|
"APACHE_LOCK_DIR=/var/lock/apache2", \ |
|
|
|
|
"APACHE_LOG_DIR=/var/log/apache2", \ |
|
|
|
|
"APACHE_RUN_DIR=/var/run/apache2", \ |
|
|
|
|
"APACHE_RUN_USER=deploy", \ |
|
|
|
|
"APACHE_RUN_GROUP=deploy", \ |
|
|
|
|
"httpd-foreground" \ |
|
|
|
|
] |
|
|
|
|