mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-18 10:52:28 +00:00
fix
This commit is contained in:
parent
c754d9af7a
commit
0ea429c163
1 changed files with 5 additions and 5 deletions
|
@ -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..."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue