sagar008 commited on
Commit
64b5c0a
·
verified ·
1 Parent(s): 0f3bce4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -13,6 +13,10 @@ ENV HF_HOME=/app/cache \
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
 
 
 
16
  COPY . .
17
 
18
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
13
  COPY requirements.txt .
14
  RUN pip install --no-cache-dir -r requirements.txt
15
 
16
+ RUN python -m nltk.downloader -d /app/nltk_data punkt
17
+
18
+
19
  COPY . .
20
 
21
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
22
+