move settings file to early on

This commit is contained in:
ShareLaTeX 2016-09-21 12:47:07 +00:00
parent 511054423e
commit 66dcbb9b96

View file

@ -13,6 +13,10 @@ RUN wget https://s3.amazonaws.com/sharelatex-random-files/qpdf-6.0.0.tar.gz && t
WORKDIR /opt/qpdf-6.0.0 WORKDIR /opt/qpdf-6.0.0
RUN ./configure && make && make install && ldconfig RUN ./configure && make && make install && ldconfig
# Install ShareLaTeX settings file
ADD ${baseDir}/settings.coffee /etc/sharelatex/settings.coffee
ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee
# Install TexLive # Install TexLive
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \ RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \
mkdir /install-tl-unx; \ mkdir /install-tl-unx; \
@ -69,9 +73,6 @@ RUN cd /var/www/sharelatex/web; \
RUN cd /var/www/sharelatex/clsi; \ RUN cd /var/www/sharelatex/clsi; \
grunt compile:bin grunt compile:bin
# Install ShareLaTeX settings file
ADD ${baseDir}/settings.coffee /etc/sharelatex/settings.coffee
ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee
EXPOSE 80 EXPOSE 80