JPBianchi commited on
Commit
0415073
1 Parent(s): c57504d

fix Permission denied to /.cache

Browse files
Files changed (1) hide show
  1. 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
 
45
  ENV TRANSFORMERS_CACHE=/usr/local/lib/python3.10/site-packages/llama_index/legacy/_static/nltk_cache
46
  # ^ not elegant but it works
 
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
47
  # ^ not elegant but it works