This example is deploys a site using Apache2 HTTP Server
- Apache2
- Static Site
- Open the
site/index.html
in the browser
By default the site/
directory gets deployed as a static site. This can be modified by changing the Dockerfile
.
The site is deployed using the default Apache 2 HTTP configuration. This can be overridden with a custom conf file by adding
FROM httpd:2.4
COPY ./my-httpd.conf /usr/local/apache2/conf/httpd.conf
to the end of the Dockerfile. For more information, read the docs.