aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 20327c7..0541759 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,7 +30,11 @@ COPY ./s2i/bin/ /usr/libexec/s2i
COPY ./etc/httpd.conf /opt/app-root/etc
RUN mkdir -p /run/httpd \
/opt/app-root/run \
+ /opt/app-root/log \
/opt/app-root/html; \
+ chmod 1777 /run/httpd \
+ /opt/app-root/run \
+ /opt/app-root/log; \
chown -R 1001 /run/httpd \
/opt/app-root