trying to fix the /.cache issue
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -41,6 +41,7 @@ RUN guardrails hub install hub://guardrails/qa_relevance_llm_eval
|
|
41 |
# it didn't work, I had to do chmod below (as also suggested in the article)
|
42 |
|
43 |
RUN chmod -R 777 /usr/local/lib/python3.10/site-packages/llama_index/legacy/_static/nltk_cache
|
|
|
44 |
RUN chmod -R 777 /.cache
|
45 |
|
46 |
ENV TRANSFORMERS_CACHE=/usr/local/lib/python3.10/site-packages/llama_index/legacy/_static/nltk_cache
|
|
|
41 |
# it didn't work, I had to do chmod below (as also suggested in the article)
|
42 |
|
43 |
RUN chmod -R 777 /usr/local/lib/python3.10/site-packages/llama_index/legacy/_static/nltk_cache
|
44 |
+
RUN mkdir -p /.cache
|
45 |
RUN chmod -R 777 /.cache
|
46 |
|
47 |
ENV TRANSFORMERS_CACHE=/usr/local/lib/python3.10/site-packages/llama_index/legacy/_static/nltk_cache
|