mirror of
https://github.com/Unstructured-IO/unstructured.git
synced 2025-12-28 07:33:36 +00:00
ci: update dockerfile to also add models and nltk (#418)
This commit is contained in:
parent
7f6e094c1f
commit
77b6fb2792
@ -78,4 +78,8 @@ RUN python3.8 -m pip install pip==${PIP_VERSION} && \
|
||||
COPY example-docs example-docs
|
||||
COPY unstructured unstructured
|
||||
|
||||
RUN python3.8 -c "import nltk; nltk.download('punkt')" && \
|
||||
python3.8 -c "import nltk; nltk.download('averaged_perceptron_tagger')" && \
|
||||
python3.8 -c "from unstructured.ingest.doc_processor.generalized import initialize; initialize()"
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user