overleaf/services/filestore/install_deps.sh
Jakob Ackermann c1d81dc1ea [misc] install a maintained ghostscript version and delete package lists
also do not install vim and bail out in case any command exited with a
 non zero exit code.
2020-01-31 15:50:53 +01:00

14 lines
284 B
Bash
Executable file

#!/bin/sh
set -ex
apt-get update
apt-get install ghostscript imagemagick optipng --yes
rm -rf /var/lib/apt/lists/*
mkdir /app/user_files/ /app/uploads/ /app/template_files/
chown -R node:node /app/user_files
chown -R node:node /app/uploads
chown -R node:node /app/template_files