fixed the nltk download in the docker files

This commit is contained in:
John Lancaster
2023-05-25 23:36:17 -05:00
parent 3933980106
commit 6d8344c59e
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ python3 python3-pip python3-dev
COPY ./requirements.txt ./requirements.txt
RUN --mount=type=cache,mode=0755,target=/root/.cache/pip pip install -r ./requirements.txt
RUN python3 -m nltk.downloader words
RUN python -m nltk.downloader words punkt averaged_perceptron_tagger
WORKDIR /usr/app
CMD [ "python", "./src/main.py" ]