kevalfst commited on
Commit
8b2fcb6
·
verified ·
1 Parent(s): f500388

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ # Install system packages
4
+ RUN apt-get update && apt-get install -y ffmpeg git && rm -rf /var/lib/apt/lists/*
5
+
6
+ # Set up environment
7
+ WORKDIR /app
8
+
9
+ # Install Python dependencies
10
+ COPY requirements.txt .
11
+ RUN pip install --upgrade pip
12
+ RUN pip install -r requirements.txt
13
+
14
+ # Copy app files
15
+ COPY . .
16
+
17
+ # Run Gradio app
18
+ CMD ["python", "app.py"]