ayloll commited on
Commit
c39dd63
·
verified ·
1 Parent(s): 8f79d15

Upload Dockerfile.txt

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