jmanhype commited on
Commit
ed47341
·
1 Parent(s): b510beb

Add essential system dependencies

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -1
Dockerfile CHANGED
@@ -1,8 +1,19 @@
1
  FROM python:3.9-slim
2
 
 
 
 
 
 
 
 
3
  WORKDIR /app
4
 
5
- RUN pip install --no-cache-dir gradio==4.16.0
 
 
 
 
6
 
7
  COPY app.py .
8
 
 
1
  FROM python:3.9-slim
2
 
3
+ # Install minimal system dependencies
4
+ RUN apt-get update && apt-get install -y \
5
+ ffmpeg \
6
+ libsm6 \
7
+ libxext6 \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
  WORKDIR /app
11
 
12
+ # Install Python packages with progress bar
13
+ ENV PIP_PROGRESS_BAR=on
14
+ RUN pip install --no-cache-dir \
15
+ gradio==4.16.0 \
16
+ opencv-python-headless
17
 
18
  COPY app.py .
19