Spaces:
Running
Running
Delete Dockerfile
Browse files- Dockerfile +0 -31
Dockerfile
DELETED
@@ -1,31 +0,0 @@
|
|
1 |
-
# Use an official Python runtime as a parent image
|
2 |
-
FROM python:3.10
|
3 |
-
|
4 |
-
# Set the working directory in the container
|
5 |
-
WORKDIR /app
|
6 |
-
|
7 |
-
# Install system dependencies, including Java for language-tool-python
|
8 |
-
RUN apt-get update && apt-get install -y \
|
9 |
-
default-jre \
|
10 |
-
git \
|
11 |
-
git-lfs \
|
12 |
-
ffmpeg \
|
13 |
-
libsm6 \
|
14 |
-
libxext6 \
|
15 |
-
cmake \
|
16 |
-
rsync \
|
17 |
-
libgl1-mesa-glx \
|
18 |
-
&& rm -rf /var/lib/apt/lists/*
|
19 |
-
|
20 |
-
# Copy the current directory contents into the container at /app
|
21 |
-
COPY . /app
|
22 |
-
|
23 |
-
# Install Python dependencies
|
24 |
-
COPY requirements.txt /app/requirements.txt
|
25 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
26 |
-
|
27 |
-
# Make port 7860 available to the world outside this container (default Gradio port)
|
28 |
-
EXPOSE 7860
|
29 |
-
|
30 |
-
# Run Gradio app (replace 'app.py' with your actual app script name)
|
31 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|