Contains: Ubuntu 14.04 Supervisor
1M+
Supervisor starts and will also restart the command python -m SimpleHTTPServer 8080 from the WORKDIR /data.
Put any HTML or the site you intend to expose into the mapped directory for /data.
For example:
sudo docker run -d -p 80:8080 -v /absolutePath/dist:/data visualjeff/simple-http-server:0.0.1
To find out what the IP address do a hostname -I at the command prompt. The second IP listed will be the IP address for the docker container. Now use that docker ip address in the browser to confirm your site is exposed.
Content type
Image
Digest
sha256:c9ece5d47…
Size
91.3 MB
Last updated
almost 11 years ago
docker pull visualjeff/simple-http-server:0.0.1