Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -4,7 +4,7 @@ FROM python:3.10
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
7 |
-
# Install system dependencies, including Java
|
8 |
RUN apt-get update && apt-get install -y \
|
9 |
default-jre \
|
10 |
git \
|
@@ -24,8 +24,8 @@ COPY . /app
|
|
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 (Gradio
|
28 |
EXPOSE 7860
|
29 |
|
30 |
-
# Run
|
31 |
CMD ["python", "app.py"]
|
|
|
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 \
|
|
|
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"]
|