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:
Alf Eaton 2021-03-23 09:43:31 +00:00 committed by GitHub
commit a271d5ce10

View file

@ -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