[gnomefr-web/oscp] Adjust paths



commit 939b9d6cf49a5f8268a6c5be01352e2a1e1dfb32
Author: Andrea Veri <averi redhat com>
Date:   Tue Aug 27 17:16:50 2019 +0200

    Adjust paths

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 74ff971..7994ef8 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ FROM centos/httpd-24-centos7
 
 USER root 
 
-ENV SITE_ROOT=/opt/app-root/src \
+ENV SITE_ROOT=/opt/app-root \
     REPO=https://gitlab.gnome.org/Infrastructure/gnomefr-web.git
 
 COPY app_data ${SITE_ROOT}
@@ -11,7 +11,7 @@ RUN mkdir ${SITE_ROOT}/html ${SITE_ROOT}/src && \
     git clone ${REPO} ${SITE_ROOT}/src && \
     cd ${SITE_ROOT}/src && \
     ./autogen.sh --prefix=${SITE_ROOT}/html && make && make install && \
-    chown -R 1000470000:1000470000 /opt/app-root/src
+    chown -R 1000470000:1000470000 ${SITE_ROOT} 
 
 EXPOSE 8080
 


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