rogerxavier commited on
Commit
719d0bf
1 Parent(s): ea97b01

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -1,9 +1,8 @@
1
  FROM python:3.9
2
 
3
  RUN apt update && apt install -y imagemagick libgl1-mesa-glx
4
- # 在CMD中运行which命令以查找ImageMagick的位置
5
- CMD ["sh", "-c", "which convert"]
6
- #ENV FFMPEG_BINARY=$(which imagemagick)
7
 
8
 
9
  # RUN apt upgrade -y
 
1
  FROM python:3.9
2
 
3
  RUN apt update && apt install -y imagemagick libgl1-mesa-glx
4
+
5
+ ENV FFMPEG_BINARY=/usr/local/imagemagick
 
6
 
7
 
8
  # RUN apt upgrade -y