Spaces:
Runtime error
Runtime error
iamspruce
commited on
Commit
·
226b002
1
Parent(s):
a93ed2b
updated dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -5,7 +5,8 @@ WORKDIR /app
|
|
| 5 |
|
| 6 |
# Install system dependencies
|
| 7 |
# git is included for any potential future needs or if any dependency requires it for cloning
|
| 8 |
-
|
|
|
|
| 9 |
|
| 10 |
# Install Python dependencies from requirements.txt
|
| 11 |
# Ensure requirements.txt is copied before installing to leverage Docker cache
|
|
|
|
| 5 |
|
| 6 |
# Install system dependencies
|
| 7 |
# git is included for any potential future needs or if any dependency requires it for cloning
|
| 8 |
+
# Install Java Runtime Environment (JRE) - crucial for language-tool-python
|
| 9 |
+
RUN apt-get update && apt-get install -y git default-jre && rm -rf /var/lib/apt/lists/*
|
| 10 |
|
| 11 |
# Install Python dependencies from requirements.txt
|
| 12 |
# Ensure requirements.txt is copied before installing to leverage Docker cache
|