Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -6,9 +6,8 @@ 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 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
|
|
|
|
| 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 super-image
|
| 10 |
|
|
|
|
| 11 |
RUN pip install --no-cache-dir --force-reinstall opencv-python-headless
|
| 12 |
|
| 13 |
EXPOSE 7860
|