Run darkhttpd in Docker
masterYou can run darkhttpd using Docker by building the image from the provided Dockerfile and then running it with volume mounts and port mappings.
- Build the image:
docker build -t darkhttpd .- Run the container:
To serve files from
~/dev/mywebsiteonhttp://localhost:8080/:
docker run -p 8080:80 -v ~/dev/mywebsite:/var/www/htdocs:ro darkhttpd