|
|
@ -63,4 +63,13 @@ RUN pip install git+https://git.cpi.imtek.uni-freiburg.de/CPI/elab-users.git |
|
|
|
WORKDIR /data |
|
|
|
WORKDIR /data |
|
|
|
|
|
|
|
|
|
|
|
# Start httpd as root, but will switch to deploy user thanks to env variable |
|
|
|
# Start httpd as root, but will switch to deploy user thanks to env variable |
|
|
|
CMD ["sudo", "--preserve-env", "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" |
|
|
|
|
|
|
|
] |
|
|
|