FROM tcwalther/essentia

RUN apt-get update -y
RUN apt-get install -y libfreetype6-dev libxft-dev nginx
RUN pip install --upgrade pip
RUN pip install pyyaml matplotlib flask requests raven blinker

RUN mkdir -p /app
WORKDIR /app
COPY . /app

EXPOSE 5000
CMD python application.py
