FROM ubuntu:14.04
MAINTAINER Roni Choudhury <roni.choudhury@kitware.com>

# Prevent this image from being served by demodock until it's complete (see
# DEMODOCK_READY line below).
ENV DEMODOCK_READY FALSE

EXPOSE 3000

RUN apt-get update && apt-get install -y python

# Install content file.
COPY index.html /

# Set up DemoDock vars.
ENV DEMODOCK_NAME Foobar
ENV DEMODOCK_KEY foobar
ENV DEMODOCK_READY TRUE

# Serve the page.
CMD ["python", "-m", "SimpleHTTPServer", "3000"]
