Skip to content

Commit

Permalink
change NLTKDIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Rudertier committed Aug 8, 2023
1 parent 49d3c6a commit 73eb4cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion paperless-ngx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ RUN python3 -m pip install --upgrade pip supervisor setuptools
RUN env QPDF_SOURCE_TREE=/qpdf
RUN python3 -m pip install --no-cache-dir -r requirements.txt


# Download NLTK Stopwords
RUN [ "python3", "-c", "import nltk; nltk.download('all', download_dir='/usr/local/share/nltk_data')" ]
RUN mkdir -p /usr/src/paperless/nltk
ENV PAPERLESS_NLTK_DIR="/usr/src/paperless/nltk"
RUN [ "python3", "-c", "import nltk; nltk.download('all', download_dir='/usr/src/paperless/nltk')" ]

#### Redis Setup
RUN apt-get install redis-server redis-tools -y
Expand Down
2 changes: 1 addition & 1 deletion paperless-ngx/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Paperless-ngx",
"version": "1.17.8",
"version": "1.17.9",
"slug": "paperless",
"url": "https://github.com/paperless-ngx/paperless-ngx",
"description": "Paperless is an application that manages your personal documents. With the help of a document scanner, paperless transforms your wieldy physical document binders into a searchable archive and provides many utilities for finding and managing your documents.",
Expand Down

0 comments on commit 73eb4cb

Please sign in to comment.