Browse Source

bugfixing to run command as user deploy

main
Holger Frey 3 years ago
parent
commit
e1f627f66d
  1. 2
      Dockerfile

2
Dockerfile

@ -63,4 +63,4 @@ RUN pip install git+https://git.cpi.imtek.uni-freiburg.de/CPI/elab-users.git @@ -63,4 +63,4 @@ 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", "httpd-foreground"]
CMD ["sudo", "APACHE_RUN_DIR=/var/run/apache2", "httpd-foreground"]

Loading…
Cancel
Save