overleaf/services/web/install_deps.sh
Henry Oswald d55b38cc05 Merge pull request #1471 from sharelatex/ho-docker2
Move to docker image based builds

GitOrigin-RevId: 992aeaf69bfea4d1847a07c457575a63985d4407
2019-03-11 10:59:20 +00:00

17 lines
411 B
Bash

#!/bin/bash
WEBPACK_ENV=production make minify &
make --no-print-directory format &
make --no-print-directory lint &
npm install git+https://github.com/sharelatex/translations-sharelatex.git#master &
wait
chmod -R 0755 /app/public
chown -R node:node /app/public
set -B
rm -rf /app/data
mkdir -p /app/data/{dumpFolder,logs,pdf,uploads,zippedProjects}
chmod -R 0755 /app/data/
chown -R node:node /app/data/