FROM debian:wheezy
MAINTAINER Johannes Schickling "schickling.j@gmail.com"

ENV DEBIAN_FRONTEND noninteractive

ADD install.sh install.sh
RUN chmod +x install.sh && ./install.sh && rm install.sh

EXPOSE 4000
VOLUME ["/source"]
WORKDIR /source
CMD ["jekyll", "serve", "--host=0.0.0.0", "--watch"]