anchor.diff:      apt-get clean && \
       rm -rf /var/lib/apt/lists/*
   
  -RUN mkdir -p /usr/src/app
  -WORKDIR /usr/src/app
  -ENV RAILS_ENV=production
  +RUN mkdir -p $APP_DIR
  +
  +WORKDIR $APP_DIR
   
   # Bundle install throw errors if Gemfile has been modified since Gemfile.lock
   COPY Gemfile* ./
  
positive.code: FROM ruby:2.1
  
  MAINTAINER Stuart Owen <orcid.org/0000-0003-2130-0865>, Finn Bacall
  
  RUN apt-get update -qq && \
      apt-get install -y --no-install-recommends libssl-dev build-essential git libreadline-dev \
  
negative.code: EXPOSE 80
  
  # Shared
  VOLUME ["/seek/filestore", "/seek/sqlite3-db"]
  
  CMD ["docker/entrypoint.sh"]
  