Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 796 Bytes

File metadata and controls

20 lines (16 loc) · 796 Bytes

python-server

HTTP Server to expose a web directory to serve different files for a configurable amount of requests.

Build Status

Build Status
python-server Build Status

How-to

Start the server

docker-compose up

Without docker compose

docker build -t python-server .
docker run -it --rm -p 80:8000  -e "REQUEST_LIMIT=2" -v $PWD/web/:/usr/src/app/web --name running-server python-server