update Dockerfile

This commit is contained in:
Jay 2019-07-24 17:45:56 +08:00
parent b774d45c9e
commit a96fcde19c

View File

@ -2,9 +2,9 @@ FROM node:lts
WORKDIR /data WORKDIR /data
COPY ./ffmpeg.tgz / COPY ./ffmpeg.tgz /
RUN apt-get update && \ RUN apt-get update && \
apt-get full-upgrade -y && \
apt-get install -y unoconv curl imagemagick graphicsmagick curl wget python3 python3-pip qpdf poppler-utils git curl wget && \ apt-get install -y unoconv curl imagemagick graphicsmagick curl wget python3 python3-pip qpdf poppler-utils git curl wget && \
apt-get clean && \ apt-get clean && \
mkdir -p /usr/local/bin && \ mkdir -p /usr/local/bin && \
tar zxvf /ffmpeg.tgz -C /usr/local/bin && \ tar zxvf /ffmpeg.tgz -C /usr/local/bin && \
rm /ffmpeg.tgz rm /ffmpeg.tgz && \
rm -rf /var/lib/apt/lists