From 113ad7c34dd9b38bbd87c40c872700e0c5fa5e8d Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 31 Aug 2021 09:56:36 +0200 Subject: [PATCH] added workdir change to dockerfile --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 61d3c2f..c89aca5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,5 +42,7 @@ ENV APACHE_RUN_DIR=/var/run/apache2 ENV APACHE_RUN_USER=deploy ENV APACHE_RUN_GROUP=deploy +WORKDIR /data + # Start httpd as root, but will switch to deploy user thanks to env variable CMD ["httpd-foreground"] \ No newline at end of file