Sign inSign up

sebastienj/python-http-server

By sebastienj

•Updated over 8 years ago

simple http server

Image
0

179

sebastienj/python-http-server repository overview

⁠build image from hub

docker build . -t sebastienj/python-http-server

⁠create container

  • update local path - C:\local\folder - which will be the root of the local site
  • update name-of-the-container - which will be the name of the container
  • the site will be served on http://localhost/⁠ - 80 can be replaced with other port number
docker run --rm -ti -p 80:8080 -v C:\local\folder:/var/www/ --name name-of-the-container sebastienj/python-http-server 

Tag summary

Content type

Image

Digest

Size

268 MB

Last updated

over 8 years ago

docker pull sebastienj/python-http-server