Public Repository

Last pushed: 3 years ago
Short Description
Contains: Ubuntu 14.04 Supervisor
Full Description

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:

  1. Put your site in the directory /absolutePath/dist
  2. Start the container using the command below, NOTE: you'll be exposing your site on port 80

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.

Docker Pull Command