We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 257ed47 commit 1aa640dCopy full SHA for 1aa640d
1 file changed
Dockerfile
@@ -22,7 +22,7 @@ RUN --mount=type=cache,target=$POETRY_CACHE_DIR \
22
find /app/.venv -name "*.md" -delete && \
23
find /app/.venv -name "*.txt" -delete &&\
24
# Download NLTK corpora into the venv so it's cached ---
25
- /app/.venv/bin/python -m nltk.downloader -d /app/.venv/nltk_data brown reuters gutenberg webtext
+ /app/.venv/bin/python -m nltk.downloader -d /app/.venv/nltk_data brown reuters gutenberg webtext punkt punkt_tab
26
27
ENV NLTK_DATA=/app/.venv/nltk_data
28
@@ -32,7 +32,6 @@ ENV VIRTUAL_ENV=/app/.venv \
32
PATH="/app/.venv/bin:$PATH"
33
34
35
-
36
# Copy the cleaned virtual environment
37
COPY --from=builder ${VIRTUAL_ENV} ${VIRTUAL_ENV}
38
0 commit comments