Spaces:
Sleeping
Sleeping
Praneeth Yerrapragada
commited on
Commit
•
12a9bf1
1
Parent(s):
4df7c12
build: try to make application startup
Browse filesFile "<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'
- 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"]
|