anchor.diff:  ADD ${baseDir}/settings.coffee /etc/sharelatex/settings.coffee
   ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee
   
  +
  +
   EXPOSE 80
   
   ENTRYPOINT ["/sbin/my_init"]
  
positive.code: # Minify js assets
  RUN cd /var/www/sharelatex/web; \
  	grunt compile:minify;
  
  # Install Nginx as a reverse proxy
  run apt-get update
  
negative.code: FROM phusion/baseimage:0.9.16
  
  ENV baseDir .
  
  # Install TexLive
  RUN apt-get install -y wget
  RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \
  	mkdir /install-tl-unx; \
  	tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1
  
  RUN echo "selected_scheme scheme-basic" >> /install-tl-unx/texlive.profile; \
  	/install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile
  
  # Install Node.js and Grunt
  RUN curl -sL https://deb.nodesource.com/setup | sudo bash -
  