Change Dockerfile to install dependencies last. Part of fixing multiple plugins support.
Change Dockerfile to install dependencies last. Part of fixing multiple plugins support.

FROM ramsproject/sideboard
MAINTAINER RAMS Project "code@magfest.org"
LABEL version.rams-core ="0.1"

# install the requirements specified.
# this will be a bit slow on first run but subsequently will be cached.
COPY bower.json ./
RUN bower install --config.interactive=false --allow-root
COPY requirements.txt ./
RUN pip install -r requirements.txt

# add our code - do this last, since it changes the most often
COPY . plugins/uber/

FROM ramsproject/sideboard
MAINTAINER RAMS Project "code@magfest.org"
LABEL version.rams-core ="0.1"

# add our code
COPY . plugins/uber/
# go ahead and install base dependencies
RUN paver install_deps
