Spaces:
Sleeping
Sleeping
rogerxavier
commited on
Update Dockerfile
Browse files- Dockerfile +5 -2
Dockerfile
CHANGED
@@ -2,8 +2,11 @@ FROM python:3.9
|
|
2 |
USER root
|
3 |
RUN apt update && apt install -y imagemagick libgl1-mesa-glx
|
4 |
|
5 |
-
RUN dpkg -L imagemagick
|
6 |
-
ENV FFMPEG_BINARY=/usr/share/doc/imagemagick
|
|
|
|
|
|
|
7 |
|
8 |
|
9 |
# RUN apt upgrade -y
|
|
|
2 |
USER root
|
3 |
RUN apt update && apt install -y imagemagick libgl1-mesa-glx
|
4 |
|
5 |
+
#RUN dpkg -L imagemagick
|
6 |
+
#ENV FFMPEG_BINARY=/usr/share/doc/imagemagick
|
7 |
+
|
8 |
+
RUN FFMPEG_BINARY=$(dpkg -L imagemagick | grep bin) && echo $FFMPEG_BINARY
|
9 |
+
|
10 |
|
11 |
|
12 |
# RUN apt upgrade -y
|