Commit 8cc0549d authored by Henry Oswald's avatar Henry Oswald
parents e029c806 6cfe468a
...@@ -13,6 +13,10 @@ RUN wget https://s3.amazonaws.com/sharelatex-random-files/qpdf-6.0.0.tar.gz && t ...@@ -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; \
...@@ -45,7 +49,7 @@ RUN rm /etc/nginx/sites-enabled/default ...@@ -45,7 +49,7 @@ RUN rm /etc/nginx/sites-enabled/default
ADD ${baseDir}/nginx/nginx.conf /etc/nginx/nginx.conf ADD ${baseDir}/nginx/nginx.conf /etc/nginx/nginx.conf
ADD ${baseDir}/nginx/sharelatex.conf /etc/nginx/sites-enabled/sharelatex.conf ADD ${baseDir}/nginx/sharelatex.conf /etc/nginx/sites-enabled/sharelatex.conf
COPY {baseDir}/init_scripts/ /etc/my_init.d/ COPY ${baseDir}/init_scripts/ /etc/my_init.d/
# Install ShareLaTeX # Install ShareLaTeX
...@@ -69,9 +73,6 @@ RUN cd /var/www/sharelatex/web; \ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment