[happybirthdaygnome-web/oscp] And missing chowns



commit 8a414f56a8b7d4f5f66000ae6b0973aef9b05c1b
Author: Andrea Veri <averi redhat com>
Date:   Fri Aug 23 11:52:08 2019 +0200

    And missing chowns

 Dockerfile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/Dockerfile b/Dockerfile
index 7375857..4e4e780 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -8,7 +8,8 @@ ENV SITE_ROOT=/opt/app-root/src \
 COPY app_data ${SITE_ROOT}
 RUN mkdir ${SITE_ROOT}/html && \
     yum install git -y && \
-    git clone ${REPO} ${SITE_ROOT}/html 
+    git clone ${REPO} ${SITE_ROOT}/html && \
+    RUN chown -R 1000470000:1000470000 /opt/app-root/src
 
 EXPOSE 8080
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]