Skip to content

Commit 1450e58

Browse files
authored
Merge pull request #716 from maysunfaisal/update-rag-1
Set group permissions on the /rag/models/ dir
2 parents 151cc3b + a7b49e6 commit 1450e58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

recipes/natural_language_processing/rag/app/Containerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@ COPY rag_app.py .
1919
COPY manage_vectordb.py .
2020
EXPOSE 8501
2121
ENV HF_HUB_CACHE=/rag/models/
22+
RUN mkdir -p /rag/models/
23+
RUN chgrp -R 0 /rag/models/ && chmod -R g=u /rag/models/
2224
ENTRYPOINT [ "streamlit", "run" ,"rag_app.py" ]

0 commit comments

Comments
 (0)