From 0915ac8c606728a1e6d38f97494da6455caad83a Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Mon, 19 Mar 2018 12:56:53 +0000 Subject: [PATCH] run as app user and chmod 777 compiles dir --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 6722a41..ee1df04 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,6 +9,7 @@ chown -R app:app /app/cache mkdir -p /app/compiles chown -R app:app /app/compiles +chmod -R 777 /app/compiles #TODO why do I need this? ./bin/install_texlive_gce.sh -exec "$@" \ No newline at end of file +exec runuser -u app "$@" \ No newline at end of file