Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
#
|
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 (
|
21 |
EXPOSE 7860
|
22 |
|
23 |
-
# Command to run the
|
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"]
|