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

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 Bladerunner
ENV DEMODOCK_KEY bladerunner
ENV DEMODOCK_DESC "Roy Batty's dying monologue from the film Blade Runner"
ENV DEMODOCK_READY TRUE

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