Public | Automated Build

Last pushed: 19 days ago
Short Description
Super basic Apache2 image based on Alpine.
Full Description

caseyfw/apache

Super basic Apache2 image based on Alpine.

Usage

Either copy or volume your content into /web when running - e.g.

docker run --volume ${PWD}:/web --publish 80:8080 caseyfw/apache

The $WEB_PATH environment variable can be used to set the sub-path your
web root is served from. This should start with a slash - e.g. /foo/bar.

docker run -v ${PWD}:/web -p 80:8080 -e "WEB_PATH=/foo/bar" caseyfw/apache

This will result in your content being served at http://localhost/foo/bar/.

Note that this image uses port 8080 by default, allowing it to be run by a
non-root user.

docker run -v ${PWD}:/web -p 80:8080 -u 1000 caseyfw/apache
Docker Pull Command
Owner
caseyfw
Source Repository