anchor.diff:  # Precompile assets
   RUN RAILS_ENV=production bundle exec rake assets:precompile --trace
   
  +# Save timestamp of image building
  +RUN date -u > BUILD_TIME
  +
   # Start up
   CMD "docker/startup.sh"
  
positive.code: # Set some config
  ENV RAILS_LOG_TO_STDOUT true
  
  # throw errors if Gemfile has been modified since Gemfile.lock
  RUN bundle config --global frozen 1
  
  # Workdir
  RUN mkdir -p /home/app
  WORKDIR /home/app
  
  # Save timestamp of image building
  RUN date -u > BUILD_TIME
  
  # Install gems
  ADD Gemfile* /home/app/
  
negative.code: FROM ledermann/base
  
  # Add the nginx site and config
  RUN rm -rf /etc/nginx/sites-available/default
  ADD docker/nginx.conf /etc/nginx/nginx.conf
  EXPOSE 80 443
  
  # Install wkhtmltopdf
  RUN apt-get update && apt-get install -y libxrender1 libxext6 fonts-lato --no-install-recommends && \
  