Skip to content

Commit

Permalink
Merge pull request #716 from maysunfaisal/update-rag-1
Browse files Browse the repository at this point in the history
Set group permissions on the /rag/models/ dir
  • Loading branch information
cooktheryan authored Aug 2, 2024
2 parents 151cc3b + a7b49e6 commit 1450e58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions recipes/natural_language_processing/rag/app/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ COPY rag_app.py .
COPY manage_vectordb.py .
EXPOSE 8501
ENV HF_HUB_CACHE=/rag/models/
RUN mkdir -p /rag/models/
RUN chgrp -R 0 /rag/models/ && chmod -R g=u /rag/models/
ENTRYPOINT [ "streamlit", "run" ,"rag_app.py" ]

0 comments on commit 1450e58

Please sign in to comment.