rogerxavier commited on
Commit
44adc57
1 Parent(s): 1ba1ce3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,6 +1,7 @@
1
  FROM python:3.9
2
  RUN apt update && apt install -y libgl1-mesa-glx
3
  USER root
 
4
 
5
  ##安装imagemagic ,linux使用convert路径即可
6
  RUN apt install -y imagemagick
@@ -14,10 +15,9 @@ RUN cp -f ./custom-imagemagick-policy.yml /etc/ImageMagick-6/policy.xml
14
  RUN pip install -U pip
15
 
16
 
17
- COPY requirements.txt .
18
  RUN pip install -r requirements.txt
19
 
20
- COPY . .
21
 
22
 
23
  # 更改文件夹权限 -保存视频,漫画,漫画去印1,漫画裁剪12,裁剪识别合并->output
 
1
  FROM python:3.9
2
  RUN apt update && apt install -y libgl1-mesa-glx
3
  USER root
4
+ COPY . .
5
 
6
  ##安装imagemagic ,linux使用convert路径即可
7
  RUN apt install -y imagemagick
 
15
  RUN pip install -U pip
16
 
17
 
 
18
  RUN pip install -r requirements.txt
19
 
20
+
21
 
22
 
23
  # 更改文件夹权限 -保存视频,漫画,漫画去印1,漫画裁剪12,裁剪识别合并->output