Praneeth Yerrapragada commited on
Commit
12a9bf1
1 Parent(s): 4df7c12

build: try to make application startup

Browse files

File "<frozen os>", line 225, in makedirs PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.11/site-packages/llama_index/legacy/_static/nltk_cache/corpora'

Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -18,5 +18,7 @@ EXPOSE 8000
18
  # Download the 'stopwords' resource before running the app
19
  RUN python -c "import nltk; nltk.download('stopwords')"
20
 
 
 
21
  # Run app.py when the container launches
22
  CMD ["python", "main.py"]
 
18
  # Download the 'stopwords' resource before running the app
19
  RUN python -c "import nltk; nltk.download('stopwords')"
20
 
21
+ RUN chmod -R 775 /usr/local/lib/python3.11/site-packages/llama_index
22
+
23
  # Run app.py when the container launches
24
  CMD ["python", "main.py"]