mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
set synctexBaseDir: () -> "/compile" if using docker in docker
This commit is contained in:
parent
2c53672dbd
commit
8a25755b8a
2 changed files with 6 additions and 0 deletions
|
@ -106,5 +106,7 @@ ENV SHARELATEX_CONFIG /etc/sharelatex/settings.coffee
|
|||
|
||||
EXPOSE 80
|
||||
|
||||
WORKDIR /
|
||||
|
||||
ENTRYPOINT ["/sbin/my_init"]
|
||||
|
||||
|
|
|
@ -499,6 +499,10 @@ if process.env["DOCKER_IN_DOCKER"] == "true"
|
|||
PATH: process.env["COMPILER_PATH"] or "/usr/local/texlive/2015/bin/x86_64-linux:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
user: "www-data"
|
||||
|
||||
if !settings.path?
|
||||
settings.path = {}
|
||||
settings.path.synctexBaseDir = () -> "/compile"
|
||||
|
||||
|
||||
# Templates
|
||||
# ---------
|
||||
|
|
Loading…
Reference in a new issue