Browse Source

bugfixing to run command as user deploy

main
Holger Frey 3 years ago
parent
commit
3235dd932f
  1. 4
      Dockerfile

4
Dockerfile

@ -62,5 +62,7 @@ RUN pip install git+https://git.cpi.imtek.uni-freiburg.de/CPI/elab-users.git @@ -62,5 +62,7 @@ RUN pip install git+https://git.cpi.imtek.uni-freiburg.de/CPI/elab-users.git
# change the working directory
WORKDIR /data
USER root
# Start httpd as root, but will switch to deploy user thanks to env variable
CMD ["sudo", "httpd-foreground"]
#CMD ["sudo", "httpd-foreground"]
CMD ["httpd-foreground"]
Loading…
Cancel
Save