Spaces:
Runtime error
Runtime error
Delete Dockerfile
Browse files- Dockerfile +0 -31
Dockerfile
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
# Use the official Python 3.12 base image
|
2 |
-
FROM python:3.12-slim
|
3 |
-
|
4 |
-
# Set the working directory inside the container
|
5 |
-
WORKDIR /app
|
6 |
-
|
7 |
-
# Install system-level dependencies
|
8 |
-
RUN apt-get update && apt-get install -y \
|
9 |
-
ffmpeg \
|
10 |
-
libsm6 \
|
11 |
-
libxext6 \
|
12 |
-
libgl1-mesa-glx \
|
13 |
-
git \
|
14 |
-
&& apt-get clean \
|
15 |
-
&& rm -rf /var/lib/apt/lists/*
|
16 |
-
|
17 |
-
# Copy the requirements file into the container
|
18 |
-
COPY requirements.txt .
|
19 |
-
|
20 |
-
# Install Python dependencies
|
21 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
22 |
-
|
23 |
-
# Copy your backend and frontend scripts into the container
|
24 |
-
COPY backend.py .
|
25 |
-
COPY frontend.py .
|
26 |
-
|
27 |
-
# Expose the Gradio app port
|
28 |
-
EXPOSE 7860
|
29 |
-
|
30 |
-
# Set the default command to launch the Gradio frontend
|
31 |
-
CMD ["python", "frontend.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|