This commit is contained in:
Ashwin Bharambe 2025-06-02 17:53:57 -07:00
parent c754d9af7a
commit 0ea429c163

View file

@ -31,26 +31,26 @@ spec:
- | - |
# Install git (not included in alpine by default) # Install git (not included in alpine by default)
apk add --no-cache git apk add --no-cache git
# Clone the repository # Clone the repository
echo "Cloning repository..." echo "Cloning repository..."
git clone https://github.com/meta-llama/llama-stack.git /app git clone https://github.com/meta-llama/llama-stack.git /app
# Navigate to the UI directory # Navigate to the UI directory
echo "Navigating to UI directory..." echo "Navigating to UI directory..."
cd /app/llama_stack/ui cd /app/llama_stack/ui
# Check if package.json exists # Check if package.json exists
if [ ! -f "package.json" ]; then if [ ! -f "package.json" ]; then
echo "ERROR: package.json not found in $(pwd)" echo "ERROR: package.json not found in $(pwd)"
ls -la ls -la
exit 1 exit 1
fi fi
# Install dependencies with verbose output # Install dependencies with verbose output
echo "Installing dependencies..." echo "Installing dependencies..."
npm install --verbose npm install --verbose
# Verify next is installed # Verify next is installed
echo "Checking if next is installed..." echo "Checking if next is installed..."
npx next --version || echo "Next.js not found, checking node_modules..." npx next --version || echo "Next.js not found, checking node_modules..."