[api-web/oscp] Path fix



commit b7fa5377d7e2c3a61416f94e97f0148632be2d36
Author: Andrea Veri <averi redhat com>
Date:   Fri Aug 30 12:24:47 2019 +0200

    Path fix

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 3f3455c..a11fa06 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/api-web.git
 
 COPY app_data ${SITE_ROOT}
@@ -10,7 +10,7 @@ RUN mkdir ${SITE_ROOT}/html ${SITE_ROOT}/src && \
     yum install git rsync -y && \
     git clone ${REPO} ${SITE_ROOT}/src && \
     rsync --archive --exclude=api-web.doap --exclude=.git ${SITE_ROOT}/src ${SITE_ROOT}/html && \ 
-    chown -R 1000470000:1000470000 /opt/app-root/html
+    chown -R 1000470000:1000470000 /opt/app-root/src/html
 
 EXPOSE 8080
 


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