containers / ai-lab-recipes

Examples for building and running LLM services and applications locally with Podman
Apache License 2.0
111 stars 110 forks source link

Set group permissions on the /rag/models/ dir #716

Closed maysunfaisal closed 3 months ago

maysunfaisal commented 3 months ago

Updates the RAG Containerfile for setting group permissions on the /rag/models/ dir.

We have been consuming the Podman Desktop AI lab recipes via RHDH software templates, which will include OpenShift as a deployment target for the recipes. While trying to run the RAG application, we found it was running into permissions issues when using the UID that OpenShift assigns to the container. The fix has been verified both locally and on OpenShift.

Previously on OpenShift:

Screenshot 2024-08-01 at 6 13 47 PM
cooktheryan commented 3 months ago

This is awesome but will defer to @rhatdan to decide