From e1f627f66df34421fe1997f61c054ce5c5b13e4b Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 31 Aug 2021 12:02:41 +0200 Subject: [PATCH] bugfixing to run command as user deploy --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3cd92a4..b2b93f4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]