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

@@ -2,12 +2,12 @@
wget -qO- https://get.docker.com/ | sh
apt-get install poppler-utils vim ghostscript --yes
npm rebuild
usermod -aG docker app
usermod -aG docker node
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
chown -R node:node /app/compiles
chown -R app:app /app/bin/synctex
chown -R node:node /app/bin/synctex