sashtech commited on
Commit
3b4eb88
·
verified ·
1 Parent(s): 36b5c39

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 (needed for language-tool-python)
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 default port)
28
  EXPOSE 7860
29
 
30
- # Run the application
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"]