FROM heroku/cedar:14

WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build

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

RUN pip install 'bob-builder>=0.0.10' 's3cmd>=1.6.0'

ADD . /app

FROM heroku/cedar:14

WORKDIR /app
ENV WORKSPACE_DIR=/app/support/build

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

ADD requirements.txt /app/requirements.txt

RUN pip install -r /app/requirements.txt

ADD . /app

Install requirements based on the requirements.txt in Docker
Install requirements based on the requirements.txt in Docker

This avoids maintaining the Twig requirements in 2 different places.
