add nltk punkt resource (#7063)
This commit is contained in:
parent
34a9dbe826
commit
169cde6c3c
2 changed files with 4 additions and 2 deletions
|
|
@ -55,6 +55,9 @@ ENV VIRTUAL_ENV=/app/api/.venv
|
|||
COPY --from=packages ${VIRTUAL_ENV} ${VIRTUAL_ENV}
|
||||
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
|
||||
|
||||
# Download nltk data
|
||||
RUN python -c "import nltk; nltk.download('punkt')"
|
||||
|
||||
# Copy source code
|
||||
COPY . /app/api/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue