Add S2I support and cleanup unused files
- Add complete Source-to-Image (S2I) deployment support - Create .s2i/ directory with assemble/run scripts and environment config - Add openshift-s2i.yaml template for S2I deployment - Add scripts/deploy-s2i.sh for automated S2I deployment - Add README-S2I.md with comprehensive S2I documentation - Update README.md and AIAgents-Support.md with S2I information - Clean up unused files: Dockerfile.simple, HTML backups, daemonset files - Remove unused Makefile and openshift-git-deploy.yaml - Update kustomization.yaml to use deployment instead of daemonset - Update undeploy-complete.sh to remove deployment instead of daemonset - Maintain clean and organized codebase structure
This commit is contained in:
19
.s2i/bin/run
Executable file
19
.s2i/bin/run
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
# S2I Run Script for ORU Analyzer
|
||||
# This script is called when the container starts
|
||||
|
||||
set -e
|
||||
|
||||
echo "=== ORU Analyzer S2I Run Script ==="
|
||||
echo "Starting ORU Analyzer application..."
|
||||
|
||||
# Change to application directory
|
||||
cd /opt/app-root/src
|
||||
|
||||
# Set environment variables
|
||||
export PYTHONPATH=/opt/app-root/src
|
||||
export PYTHONUNBUFFERED=1
|
||||
|
||||
# Start the application
|
||||
echo "Launching ORU Analyzer..."
|
||||
exec /opt/app-root/src/start.sh
|
||||
Reference in New Issue
Block a user