From 498ca80cd35308068d8cc6bb76b14e727b9c1665 Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Thu, 18 Feb 2021 15:09:48 +0000 Subject: [PATCH] Ensure that app folders exist before running chown --- services/clsi/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/clsi/entrypoint.sh b/services/clsi/entrypoint.sh index 2696574873..14921d1745 100755 --- a/services/clsi/entrypoint.sh +++ b/services/clsi/entrypoint.sh @@ -8,9 +8,9 @@ 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 # make synctex available for remount in compiles cp /app/bin/synctex /app/bin/synctex-mount/synctex