mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 06:03:42 -05:00
c1d81dc1ea
also do not install vim and bail out in case any command exited with a non zero exit code.
14 lines
284 B
Bash
Executable file
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
|