run as app user and chmod 777 compiles dir

This commit is contained in:
Henry Oswald 2018-03-19 12:56:53 +00:00
parent f6663f2f5f
commit edf0125c2f

View file

@ -9,6 +9,7 @@ chown -R app:app /app/cache
mkdir -p /app/compiles mkdir -p /app/compiles
chown -R app:app /app/compiles chown -R app:app /app/compiles
chmod -R 777 /app/compiles #TODO why do I need this?
./bin/install_texlive_gce.sh ./bin/install_texlive_gce.sh
exec "$@" exec runuser -u app "$@"