NoLev commited on
Commit
dc6496e
·
verified ·
1 Parent(s): e3748bb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 punkt data to avoid runtime permission issues
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