diff --git a/recipes/natural_language_processing/rag/app/Containerfile b/recipes/natural_language_processing/rag/app/Containerfile index d61bdabd..a44fd3b9 100644 --- a/recipes/natural_language_processing/rag/app/Containerfile +++ b/recipes/natural_language_processing/rag/app/Containerfile @@ -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" ]