mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-25 22:33:06 +00:00
Merge pull request #212 from overleaf/ae-chown-app-folders
Ensure that app folders exist before running chown in entrypoint.sh
This commit is contained in:
commit
a271d5ce10
1 changed files with 4 additions and 3 deletions
|
@ -8,9 +8,10 @@ groupadd --non-unique --gid ${DOCKER_GROUP} dockeronhost
|
|||
usermod -aG dockeronhost node
|
||||
|
||||
# compatibility: initial volume setup
|
||||
chown node:node /app/cache
|
||||
chown node:node /app/compiles
|
||||
chown node:node /app/db
|
||||
mkdir -p /app/cache && chown node:node /app/cache
|
||||
mkdir -p /app/compiles && chown node:node /app/compiles
|
||||
mkdir -p /app/db && chown node:node /app/db
|
||||
mkdir -p /app/output && chown node:node /app/output
|
||||
|
||||
# make synctex available for remount in compiles
|
||||
cp /app/bin/synctex /app/bin/synctex-mount/synctex
|
||||
|
|
Loading…
Reference in a new issue