From 3235dd932fbf74514a756ad00d9e0041532e4fe0 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 31 Aug 2021 11:31:22 +0200 Subject: [PATCH] bugfixing to run command as user deploy --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3692232..2b6c3b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] \ No newline at end of file +#CMD ["sudo", "httpd-foreground"] +CMD ["httpd-foreground"] \ No newline at end of file