Skip to content

Commit a7b49e6

Browse files
committed
Set group permissions on /rag/models/ dir
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
1 parent 151cc3b commit a7b49e6

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)