Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files- 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"]
|