diff options
Diffstat (limited to 'Services/apache/Dockerfile')
-rw-r--r-- | Services/apache/Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Services/apache/Dockerfile b/Services/apache/Dockerfile new file mode 100644 index 0000000..c3385d4 --- /dev/null +++ b/Services/apache/Dockerfile @@ -0,0 +1,16 @@ +FROM startx/fedora +MAINTAINER Chistophe LARUE <dev@startx.fr> + +COPY apache_run.sh /bin/ +RUN yum -y install httpd \ + && yum clean all \ + && mkdir -p /var/www/html \ + && mkdir -p /var/log/httpd \ + && chmod ug+rx /bin/apache_* +COPY welcome.html /var/www/html/index.html + +EXPOSE 80 +EXPOSE 443 + +CMD ["/bin/apache_run.sh"] +ONBUILD CMD ["/bin/apache_run.sh"]
\ No newline at end of file |