sashdev commited on
Commit
5a41cd1
·
verified ·
1 Parent(s): 2c49304

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- # Base image for Python
2
  FROM python:3.10-slim
3
 
4
  # Install Java (required for language-tool-python)
@@ -17,8 +17,8 @@ COPY . /app
17
  # Install Python dependencies from requirements.txt
18
  RUN pip install --upgrade pip && pip install -r requirements.txt
19
 
20
- # Expose port (optional, if using Gradio or similar)
21
  EXPOSE 7860
22
 
23
- # Command to run the app
24
  CMD ["python", "app.py"]
 
1
+ # Use a slim Python image as the base
2
  FROM python:3.10-slim
3
 
4
  # Install Java (required for language-tool-python)
 
17
  # Install Python dependencies from requirements.txt
18
  RUN pip install --upgrade pip && pip install -r requirements.txt
19
 
20
+ # Expose port (if using Gradio for a web UI)
21
  EXPOSE 7860
22
 
23
+ # Command to run the application
24
  CMD ["python", "app.py"]