Spaces:
Runtime error
Runtime error
commit
Browse files- Dockerfile +20 -0
Dockerfile
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Start from the official Gradio image
|
2 |
+
FROM gradio/gradio
|
3 |
+
|
4 |
+
# Install ffmpeg
|
5 |
+
RUN apt-get update && \
|
6 |
+
apt-get install -y ffmpeg && \
|
7 |
+
apt-get clean && \
|
8 |
+
rm -rf /var/lib/apt/lists/*
|
9 |
+
|
10 |
+
# Copy your app's files into the container
|
11 |
+
COPY . /app
|
12 |
+
|
13 |
+
# Install Python dependencies
|
14 |
+
RUN pip install -r /app/requirements.txt
|
15 |
+
|
16 |
+
# Set the working directory
|
17 |
+
WORKDIR /app
|
18 |
+
|
19 |
+
# Command to run your Gradio app
|
20 |
+
CMD ["python", "app.py"]
|