install gs correctly

This commit is contained in:
Henry Oswald 2018-03-23 17:21:15 +00:00
parent 8c782ba6b2
commit b45e2a922c
2 changed files with 3 additions and 2 deletions

View file

@ -19,6 +19,6 @@ WORKDIR /app
# on any files it doesn't need.
RUN ./install_deps.sh
# USER node
USER node
CMD ["node","app.js"]

View file

@ -3,7 +3,8 @@ apt-get update
apt-get install vim imagemagick optipng --yes
wget https://s3.amazonaws.com/sl-public-dev-assets/ghostscript-9.15.tar.gz /tmp/ghostscript-9.15.tar.gz
wget https://s3.amazonaws.com/sl-public-dev-assets/ghostscript-9.15.tar.gz -O /tmp/ghostscript-9.15.tar.gz
ls -al /tmp
tar -xvf /tmp/ghostscript-9.15.tar.gz
cd /tmp/ghostscript-9.15 && ./configure && make && make install