mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 02:53:48 -05:00
install gs correctly
This commit is contained in:
parent
8c782ba6b2
commit
b45e2a922c
2 changed files with 3 additions and 2 deletions
|
@ -19,6 +19,6 @@ WORKDIR /app
|
||||||
# on any files it doesn't need.
|
# on any files it doesn't need.
|
||||||
RUN ./install_deps.sh
|
RUN ./install_deps.sh
|
||||||
|
|
||||||
# USER node
|
USER node
|
||||||
|
|
||||||
CMD ["node","app.js"]
|
CMD ["node","app.js"]
|
||||||
|
|
|
@ -3,7 +3,8 @@ apt-get update
|
||||||
|
|
||||||
apt-get install vim imagemagick optipng --yes
|
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
|
tar -xvf /tmp/ghostscript-9.15.tar.gz
|
||||||
cd /tmp/ghostscript-9.15 && ./configure && make && make install
|
cd /tmp/ghostscript-9.15 && ./configure && make && make install
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue