[wgo-web] We'll be using a subpath, chdir to the directory below it



commit db61f80665fbf605a12b9152dfe1637239e9d06c
Author: Andrea Veri <averi redhat com>
Date:   Tue Mar 12 15:17:49 2019 +0100

    We'll be using a subpath, chdir to the directory below it

 Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/Dockerfile b/Dockerfile
index 3db8732..60be6c7 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ RUN yum install rh-php71-php rh-php71-php-cli rh-php71-php-common rh-php71-php-c
 RUN rpm -Uvh --nodeps $(repoquery --location mod_geoip) && \
     cp /usr/lib64/httpd/modules/mod_geoip.so /etc/httpd/modules
 
-RUN mkdir -p /srv/http/www.gnome.org/html
+RUN mkdir -p /srv/http/www.gnome.org
 COPY www.gnome.org.conf /etc/httpd/conf.d
 
 COPY gnome-custom.aug /tmp
@@ -16,5 +16,5 @@ RUN augtool -f /tmp/gnome-custom.aug
 EXPOSE 8443
 
 USER 1001
-WORKDIR /srv/http/www.gnome.org/html
+WORKDIR /srv/http/www.gnome.org
 ENTRYPOINT ["/usr/bin/run-httpd"]


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