No description
dockerfiles | ||
utils | ||
.gitignore | ||
.gitmodules | ||
build.sh | ||
README.md | ||
tini |
minhttpd
tiny http server, made to mimic* the usability of "python -m http.server"
by default, will serve from "/var/www" on port 8000, you can mount a volume here or change the path.
usage
default root
docker run --rm -p 8000:8000 -v $(pwd):/var/www arson.pw/minhttpd
custom root
docker run --rm -p 8000:8000 -v $(pwd):/tmp arson.pw/minhttpd --chdir /tmp
custom port (method 1)
docker run --rm -p 1337:8000 -v $(pwd):/var/www arson.pw/minhttpd
custom port (method 2)
docker run --rm -p 1337:1337 -v $(pwd):/var/www arson.pw/minhttpd --port 1337