summaryrefslogtreecommitdiffstats
path: root/Services/apache/Dockerfile
blob: 69c12ad3a164b2b567ab00cd458c80bc4e8b4f88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM startx/fedora
MAINTAINER Christophe 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"]