naeem123goplay commited on
Commit
af93464
·
verified ·
1 Parent(s): c96f118

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -18
Dockerfile CHANGED
@@ -2,25 +2,8 @@ FROM python:3.10-slim
2
 
3
  WORKDIR /app
4
 
5
- # Install system dependencies required by OpenCV
6
- RUN apt-get update && apt-get install -y \
7
- libgl1 \
8
- libglib2.0-0 \
9
- libsm6 \
10
- libxrender1 \
11
- libxext6 \
12
- libx11-6 \
13
- ffmpeg \
14
- && apt-get clean \
15
- && rm -rf /var/lib/apt/lists/*
16
-
17
  # Install Python dependencies
18
- RUN pip install --no-cache-dir torch torchvision torchaudio \
19
- huggingface_hub \
20
- gradio \
21
- numpy \
22
- Pillow \
23
- opencv-python-headless
24
 
25
  # Copy app code
26
  COPY . .
 
2
 
3
  WORKDIR /app
4
 
 
 
 
 
 
 
 
 
 
 
 
 
5
  # Install Python dependencies
6
+ RUN pip install --no-cache-dir gradio huggingface_hub requests
 
 
 
 
 
7
 
8
  # Copy app code
9
  COPY . .