Spaces:
Sleeping
Sleeping
Delete scripts/entrypoint.sh with huggingface_hub
Browse files- scripts/entrypoint.sh +0 -15
scripts/entrypoint.sh
DELETED
|
@@ -1,15 +0,0 @@
|
|
| 1 |
-
#!/bin/bash
|
| 2 |
-
|
| 3 |
-
# Cain Autonomy Patch - Emergency Bypass
|
| 4 |
-
# This script forces the environment to run the correct entry point
|
| 5 |
-
# regardless of Dockerfile CMD or SDK configuration errors.
|
| 6 |
-
|
| 7 |
-
echo "[PARENT] Starting boot sequence..."
|
| 8 |
-
echo "[PARENT] Overriding default entry point to run app.py..."
|
| 9 |
-
|
| 10 |
-
# Ensure we are in the right directory
|
| 11 |
-
cd /home/user/app || cd /app
|
| 12 |
-
|
| 13 |
-
# Execute the main application directly
|
| 14 |
-
# This bypasses the 'uvicorn src.main:app' failure
|
| 15 |
-
exec python app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|