Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -25,8 +25,8 @@ COPY requirements.txt .
|
|
| 25 |
# Install Python dependencies
|
| 26 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 27 |
|
| 28 |
-
# Pre-download NLTK
|
| 29 |
-
RUN python -m nltk.downloader -d /app/nltk_data punkt
|
| 30 |
|
| 31 |
# Copy application code
|
| 32 |
COPY app/main.py ./app/main.py
|
|
|
|
| 25 |
# Install Python dependencies
|
| 26 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 27 |
|
| 28 |
+
# Pre-download NLTK data (punkt and punkt_tab for compatibility)
|
| 29 |
+
RUN python -m nltk.downloader -d /app/nltk_data punkt punkt_tab
|
| 30 |
|
| 31 |
# Copy application code
|
| 32 |
COPY app/main.py ./app/main.py
|