Brazela commited on
Commit
4f59437
·
verified ·
1 Parent(s): 3727d7a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -6,7 +6,10 @@ COPY . .
6
 
7
  RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu
8
 
9
- RUN pip install --no-cache-dir fastapi uvicorn python-multipart pillow numpy
 
 
 
10
 
11
  EXPOSE 7860
12
 
 
6
 
7
  RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu
8
 
9
+ RUN pip install --no-cache-dir super-image
10
+
11
+ # super-image pulls opencv-python (needs libGL.so.1) — swap in headless
12
+ RUN pip install --no-cache-dir --force-reinstall opencv-python-headless
13
 
14
  EXPOSE 7860
15