Spaces:
Sleeping
Sleeping
UPDATE: web crawler
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -18,6 +18,8 @@ ENV NLTK_DATA=/nltk_data
|
|
18 |
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
|
|
|
|
|
21 |
EXPOSE 7860
|
22 |
|
23 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
18 |
|
19 |
RUN pip install --no-cache-dir -r requirements.txt
|
20 |
|
21 |
+
RUN python -m nltk.downloader -d /ntlk_data all
|
22 |
+
|
23 |
EXPOSE 7860
|
24 |
|
25 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|