Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -9,6 +9,7 @@ WORKDIR /
|
|
9 |
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
|
|
12 |
|
13 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
14 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
9 |
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
12 |
+
RUN python -m nltk.downloader stopwords punkt
|
13 |
|
14 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
15 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|