summaryrefslogtreecommitdiffstats
path: root/Services/apache/Dockerfile
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 15:15:52 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 15:15:52 +0100
commit4bb17b8c05c6e430293217797eef694671ec1e1b (patch)
tree2aec4634843d5ed54a8e71049e4e564f8d33973d /Services/apache/Dockerfile
parent151b31b6f47fb3d96afdd66138ff40d92cac6202 (diff)
downloadphpmyadmin-4bb17b8c05c6e430293217797eef694671ec1e1b.tar.gz
phpmyadmin-4bb17b8c05c6e430293217797eef694671ec1e1b.tar.bz2
phpmyadmin-4bb17b8c05c6e430293217797eef694671ec1e1b.tar.xz
phpmyadmin-4bb17b8c05c6e430293217797eef694671ec1e1b.zip
final change in script lib for OS. Change in apache and php services
Diffstat (limited to 'Services/apache/Dockerfile')
-rw-r--r--Services/apache/Dockerfile7
1 files changed, 4 insertions, 3 deletions
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