commit | author | age | ||
87f3f9 | 1 | FROM rhel7.3 |
FL | 2 | |
3 | MAINTAINER Your Name <youremail> | |
4 | LABEL description="A basic Apache HTTP server container on RHEL 7" | |
5 | ||
6 | RUN yum -y update && \ | |
7 | yum install -y httpd && \ | |
8 | yum clean all | |
9 | ||
10 | EXPOSE 80 | |
11 | ||
12 | ENTRYPOINT ["httpd"] | |
13 | CMD ["-D", "FOREGROUND"] |