From 4bb17b8c05c6e430293217797eef694671ec1e1b Mon Sep 17 00:00:00 2001 From: startxfr Date: Sat, 28 Nov 2015 15:15:52 +0100 Subject: final change in script lib for OS. Change in apache and php services --- Services/apache/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Services/apache/Dockerfile') diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile index 8db1b4f..72a8ee8 100644 --- a/Services/apache/Dockerfile +++ b/Services/apache/Dockerfile @@ -5,8 +5,8 @@ USER root RUN dnf -y install httpd && \ dnf clean all COPY httpd.conf /etc/httpd/conf.d/app.conf -COPY run.sh /bin/ -RUN chmod 775 /bin/run.sh && \ +COPY *.sh /bin/ +RUN chmod 775 /bin/run.sh /bin/sx-httpd.sh && \ chmod ug+r /etc/httpd/conf.d/app.conf && \ rm -f /etc/httpd/conf.d/autoindex.conf && \ rm -f /etc/httpd/conf.d/welcome.conf && \ @@ -14,7 +14,8 @@ RUN chmod 775 /bin/run.sh && \ mkdir /data/www && \ mkdir /data/logs COPY ./ /data/www -RUN rm -f /data/www/Dockerfile /data/www/httpd.conf /data/www/run.sh +RUN rm -f /data/www/Dockerfile /data/www/httpd.conf /data/www/run.sh /data/www/sx-httpd.sh && \ + chown -R apache:apache /data/www /data/logs EXPOSE 80 EXPOSE 443 -- cgit v1.2.3