mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
chown synctex and add the creation of directories in
This commit is contained in:
parent
3b2deaecf7
commit
bde294b8c2
2 changed files with 7 additions and 2 deletions
|
@ -8,6 +8,7 @@ if [ -z "$ACCESS_TOKEN" ]; then
|
|||
fi
|
||||
docker login -u '_token' -p $ACCESS_TOKEN https://gcr.io
|
||||
docker pull --all-tags gcr.io/henry-terraform-admin/texlive-full #TODO NEED TO MAKE THIS AN ENV VAR
|
||||
cp /app/bin/synctex /app/bin/synctex-mount/synctex
|
||||
echo "Finished downloading texlive-full images"
|
||||
|
||||
|
||||
|
|
|
@ -4,6 +4,10 @@ apt-get install poppler-utils vim ghostscript --yes
|
|||
npm rebuild
|
||||
usermod -aG docker app
|
||||
|
||||
mkdir /app/bin/synctex-mount
|
||||
cp /app/bin/synctex /app/bin/synctex-mount/synctex
|
||||
mkdir -p /app/cache
|
||||
chown -R app:app /app/cache
|
||||
|
||||
mkdir -p /app/compiles
|
||||
chown -R app:app /app/compiles
|
||||
|
||||
chown -R app:app /app/bin/synctex
|
||||
|
|
Loading…
Reference in a new issue