From 6d8344c59e781ba85ee996d63fbdca89d8fc8e60 Mon Sep 17 00:00:00 2001 From: John Lancaster <32917998+jsl12@users.noreply.github.com> Date: Thu, 25 May 2023 23:36:17 -0500 Subject: [PATCH] fixed the nltk download in the docker files --- .devcontainer/Dockerfile | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 9e4b3b9..4266465 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -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" ] diff --git a/Dockerfile b/Dockerfile index e720816..999d6ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN apt update && apt install -y libblas-dev liblapack-dev COPY --from=build-image /root/venv /root/venv ENV PATH="/root/venv/bin:$PATH" -RUN python -m nltk.downloader words +RUN python -m nltk.downloader words punkt averaged_perceptron_tagger WORKDIR /usr/app CMD [ "python", "./src/main.py" ]