rogerxavier
commited on
Commit
•
4ce4e84
1
Parent(s):
987d78e
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -13,6 +13,10 @@ RUN cp -f ./custom-imagemagick-policy.yml /etc/ImageMagick-6/policy.xml
|
|
13 |
RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
|
14 |
##安装imagemagic
|
15 |
|
|
|
|
|
|
|
|
|
16 |
RUN pip install -U pip
|
17 |
|
18 |
|
|
|
13 |
RUN sed -i 's/none/read,write/g' /etc/ImageMagick-6/policy.xml
|
14 |
##安装imagemagic
|
15 |
|
16 |
+
#设置ffmpeg环境变量
|
17 |
+
RUN apt install -y ffmpeg
|
18 |
+
ENV FFMPEG_BINARY=/usr/bin/ffmpeg
|
19 |
+
|
20 |
RUN pip install -U pip
|
21 |
|
22 |
|