download NLTK stopword at image build time instead of container boot

This commit is contained in:
leander committed 2026-10-24 04:56:40 +02:00
1 parent 3c85452aed
commit 196cb8a65b
2 files changed
+6 -1

No files matched your search

+2
View File
@@ -12,6 +12,8 @@ COPY pyproject.toml uv.lock .python-version ./
RUN uv sync --locked --no-dev --no-cache
RUN .venv/bin/python -m nltk.downloader -d /usr/local/share/nltk_data stopwords
COPY . .
ENV PATH="/app/.venv/bin:$PATH"