arunabks commited on
Commit
c37979d
·
verified ·
1 Parent(s): defa933

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +24 -0
Dockerfile ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # Install system dependencies (including espeak)
4
+ RUN apt-get update && apt-get install -y \
5
+ espeak \
6
+ ffmpeg \
7
+ git \
8
+ git-lfs \
9
+ libgl1-mesa-glx \
10
+ libsm6 \
11
+ libxext6 \
12
+ cmake \
13
+ && rm -rf /var/lib/apt/lists/*
14
+
15
+ # Install Python dependencies
16
+ COPY requirements.txt .
17
+ RUN pip install --no-cache-dir -r requirements.txt
18
+
19
+ # Copy app files
20
+ COPY . /app
21
+ WORKDIR /app
22
+
23
+ # Run Gradio app
24
+ CMD ["python", "app.py"]