Skip to content

Commit 22a6cb6

Browse files
committed
Workaround for NLTK not finding its data
1 parent e938d06 commit 22a6cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ USER 0
2020
WORKDIR /workdir
2121

2222
COPY requirements.gpu.txt .
23-
RUN pip3.11 install --no-cache-dir -r requirements.gpu.txt
23+
RUN pip3.11 install --no-cache-dir -r requirements.gpu.txt && ln -s /usr/local/lib/python3.11/site-packages/llama_index/core/_static/nltk_cache /root/nltk_data
2424

2525
COPY ocp-product-docs-plaintext ./ocp-product-docs-plaintext
2626
COPY runbooks ./runbooks

0 commit comments

Comments
 (0)