rogerxavier commited on
Commit
ea97b01
1 Parent(s): 9b41047

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,7 +1,8 @@
1
  FROM python:3.9
2
 
3
  RUN apt update && apt install -y imagemagick libgl1-mesa-glx
4
- CMD which imagemagick
 
5
  #ENV FFMPEG_BINARY=$(which imagemagick)
6
 
7
 
 
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