No description
Find a file
2025-01-02 18:27:21 +01:00
dockerfiles uhhh 2024-11-07 15:07:54 +01:00
utils update submod 2025-01-02 18:27:21 +01:00
.gitignore don't need that 2024-11-07 14:35:59 +01:00
.gitmodules update submod loc 2025-01-02 18:17:19 +01:00
build.sh Add files 2024-11-07 14:26:28 +01:00
README.md update readme 2024-11-07 15:10:41 +01:00
tini Add files 2024-11-07 14:26:28 +01:00

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