mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Set baseDir var
This commit is contained in:
parent
618c271039
commit
f31b9d3a7d
1 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
|||
|
||||
FROM sharelatex/sharelatex-base
|
||||
|
||||
ENV baseDir .
|
||||
|
||||
# Install sharelatex settings file
|
||||
ADD ${baseDir}/settings.coffee /etc/sharelatex/settings.coffee
|
||||
ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee
|
||||
|
@ -17,7 +19,7 @@ ADD ${baseDir}/logrotate/sharelatex /etc/logrotate.d/sharelatex
|
|||
COPY ${baseDir}/init_scripts/ /etc/my_init.d/
|
||||
|
||||
# Install ShareLaTeX
|
||||
RUN git clone https://github.com/sharelatex/sharelatex.git /var/www/sharelatex #random_change
|
||||
RUN git clone https://github.com/sharelatex/sharelatex.git /var/www/sharelatex
|
||||
|
||||
ADD ${baseDir}/services.js /var/www/sharelatex/config/services.js
|
||||
ADD ${baseDir}/package.json /var/www/package.json
|
||||
|
|
Loading…
Reference in a new issue