-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sh
More file actions
26 lines (19 loc) · 736 Bytes
/
Copy pathbuild.sh
File metadata and controls
26 lines (19 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
# Render build script
# This script runs during deployment to set up the environment
set -e # Exit on error
echo "=========================================="
echo "Starting Build Process"
echo "=========================================="
# Upgrade pip
echo "Upgrading pip..."
pip install --upgrade pip
# Install dependencies with exact versions
echo "Installing dependencies..."
pip install -r requirements.txt
# Verify sklearn version matches artifacts
echo "Verifying scikit-learn version..."
python -c "import sklearn; print(f'sklearn version: {sklearn.__version__}')"
echo "=========================================="
echo "Build Process Completed Successfully"
echo "=========================================="