Build from Source#

This guide shows how to build the Live Video Captioning RAG sample application from the source.

Build the Image#

  1. Ensure you are in the project directory:

    cd edge-ai-suites/metro-ai-suite/live-video-analysis/live-video-captioning-rag
    
  2. (Optional) To include third-party copyleft source packages in the built images, export the environment variable before building:

    export COPYLEFT_SOURCES=true
    
  3. Build the Docker image:

    docker compose build