Aqarion commited on
Commit
4c85a70
·
verified ·
1 Parent(s): 8851381

Create DOCER-ENTRY_POINT.SH

Browse files
Files changed (1) hide show
  1. DOCER-ENTRY_POINT.SH +33 -0
DOCER-ENTRY_POINT.SH ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ # BORION φ⁴³ Production Entry Point
5
+ echo "🚀 Starting BORION φ⁴³ L3 Production Container"
6
+ echo "φ⁴³ = ${PHI43} | Port: ${PORT} | Datasets: ${DATA_DIR}"
7
+
8
+ # Verify pipeline
9
+ python3 python/borion_phi43_pipeline.py --status
10
+
11
+ # Parse arguments
12
+ case "$1" in
13
+ "--server")
14
+ echo "🌐 Starting FastAPI server localhost:${PORT}"
15
+ python3 python/borion_phi43_pipeline.py --server
16
+ ;;
17
+ "--verify-all")
18
+ echo "🔥 Running full L3 verification - ALL DATASETS"
19
+ for dataset in indian_pines salinas pavia_centre botswana hyspecnet11k; do
20
+ echo "Processing ${dataset}..."
21
+ python3 python/borion_phi43_pipeline.py --dataset ${dataset}
22
+ done
23
+ echo "✅ L3 78% PRODUCTION VERIFICATION COMPLETE"
24
+ ;;
25
+ "--dataset")
26
+ echo "🎬 Running L3 pipeline: ${2}"
27
+ python3 python/borion_phi43_pipeline.py --dataset ${2}
28
+ ;;
29
+ *)
30
+ echo "Default: Starting production server"
31
+ python3 python/borion_phi43_pipeline.py --server
32
+ ;;
33
+ esac