|
|
@ -4,15 +4,18 @@ FROM node:buster-slim |
|
|
|
|
|
|
|
WORKDIR /src/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COPY package.json package.json |
|
|
|
|
|
|
|
RUN ls -la |
|
|
|
|
|
|
|
# installs pandoc |
|
|
|
# installs ffmpeg and gifski v 1.3.3 |
|
|
|
RUN apt-get update && \ |
|
|
|
apt-get install ffmpeg -y |
|
|
|
apt-get install ffmpeg -y && \ |
|
|
|
apt-get install wget -y && \ |
|
|
|
cd /root && \ |
|
|
|
wget https://github.com/jrtechs/static-storage/raw/master/gifski.deb && \ |
|
|
|
dpkg -i /root/gifski.deb && \ |
|
|
|
rm /root/gifski.deb |
|
|
|
|
|
|
|
# installs node dependencies |
|
|
|
RUN npm install |
|
|
|