aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index b2e86fa..a328c8f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -63,6 +63,10 @@ RUN dnf install -y liberation-fonts \
COPY ./s2i/bin/ /usr/libexec/s2i
COPY ./etc/virtio-spec-documentroot.conf /etc/httpd/conf.d/
+RUN mkdir -p /opt/app-root;\
+ chmod 755 /opt; \
+ chmod 755 /opt/app-root; \
+ chown 1001 /opt/app-root;
USER 1001
EXPOSE 8080