Add punkt nltk data

This commit is contained in:
Daniel Berteaud 2023-11-25 21:42:26 +01:00
parent 5d7051ed0c
commit 59daf50cf6
2 changed files with 2 additions and 1 deletions

View File

@ -37,6 +37,7 @@ RUN set -euxo pipefail &&\
./src/manage.py collectstatic --no-input &&\
mkdir -p /usr/share/nltk_data &&\
python3 -c "import nltk; nltk.download('stopwords', download_dir='/usr/share/nltk_data')" &&\
python3 -c "import nltk; nltk.download('punkt', download_dir='/usr/share/nltk_data')" &&\
rdfind /opt
FROM python:3.9-alpine

View File

@ -31,7 +31,7 @@ paperless:
webserver:
# The Docker image to use
image: danielberteaud/paperless-ngx:1.17.4-4
image: danielberteaud/paperless-ngx:1.17.4-5
# Env vars to set in the container
env: {}