try a build with node user

This commit is contained in:
Henry Oswald
2018-03-19 14:10:45 +00:00
parent 0915ac8c60
commit 4d955a8d41
3 changed files with 7 additions and 9 deletions

View File

@@ -5,11 +5,10 @@ echo "Changing permissions of /var/run/docker.sock for sibling containers"
chown root:docker /var/run/docker.sock
mkdir -p /app/cache
chown -R app:app /app/cache
chown -R node:node /app/cache
mkdir -p /app/compiles
chown -R app:app /app/compiles
chmod -R 777 /app/compiles #TODO why do I need this?
chown -R node:node /app/compiles
./bin/install_texlive_gce.sh
exec runuser -u app "$@"
exec runuser -u node "$@"