Spaces:
Sleeping
Sleeping
no message
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -20,6 +20,9 @@ ENV NLTK_DATA /code/nltk_data
|
|
20 |
RUN mkdir -p $NLTK_DATA && \
|
21 |
python -m nltk.downloader -d $NLTK_DATA punkt
|
22 |
|
|
|
|
|
|
|
23 |
COPY . .
|
24 |
|
25 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
20 |
RUN mkdir -p $NLTK_DATA && \
|
21 |
python -m nltk.downloader -d $NLTK_DATA punkt
|
22 |
|
23 |
+
# Download the spaCy model
|
24 |
+
RUN python -m spacy download en_core_web_sm
|
25 |
+
|
26 |
COPY . .
|
27 |
|
28 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|