mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
install gs correctly
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user