anchor.diff:  COPY solr solr
   COPY vendor vendor
   
  -# Temp Database (for asset compilation)
  -RUN cp config/database.sqlite.yml config/database.yml
  -RUN bundle exec rake db:setup
  -
  -# Compile assets
  -RUN bundle exec rake assets:precompile
  +# SQLite Database (for asset compilation)
  +RUN cp config/database.sqlite.yml config/database.yml && \
  +    bundle exec rake db:setup && \
  +    bundle exec rake assets:precompile
   
   # Config
  -# RUN cp docker/database.docker.yml config/database.yml
   COPY docker/seek_local.rb config/initializers/seek_local.rb
   COPY config/sunspot.default.yml config/sunspot.yml
   
  
positive.code: COPY docker/nginx.conf /etc/nginx/sites-available/default
  
  # Cleanup
  RUN rm -rf /tmp/* /var/tmp/* # db/*.sqlite3
  
  # Network
  EXPOSE 80
  
negative.code:     apt-get clean && \
      rm -rf /var/lib/apt/lists/*
  
  RUN mkdir -p /usr/src/app
  WORKDIR /usr/src/app
  ENV RAILS_ENV=production
  
  # Bundle install throw errors if Gemfile has been modified since Gemfile.lock
  COPY Gemfile* ./
  RUN bundle config --global frozen 1 && \
      bundle install
  
  # App code (picky about what gets copied to make caching of the assets:precompile more likely)
  COPY Rakefile config.ru ./
  COPY app app
  COPY config config
  COPY db db
  