rogerxavier commited on
Commit
74f7d1f
1 Parent(s): 752bf17

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -38,7 +38,12 @@
38
  #这个dpokidov/imagemagick 含有magick二进制
39
  FROM dpokidov/imagemagick
40
 
41
- # RUN magick
 
 
 
 
 
42
 
43
 
44
  RUN pip install -U pip
 
38
  #这个dpokidov/imagemagick 含有magick二进制
39
  FROM dpokidov/imagemagick
40
 
41
+ # 安装 Python 3.9
42
+ RUN apt-get update && apt-get install -y python3.9
43
+
44
+ # 设置 Python 3.9 作为默认 Python 版本
45
+ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
46
+
47
 
48
 
49
  RUN pip install -U pip