Gemini commited on
Commit
52d0968
·
1 Parent(s): e09e6c3

fix: Correct start.sh execution flow and app path\n\n- Restored 'cd /app' and original Flask run command.\n- Ensures correct working directory for app.py and setup.sh sourcing.\n- Environment variables are now set before app startup.

Browse files
Files changed (1) hide show
  1. start.sh +4 -1
start.sh CHANGED
@@ -25,4 +25,7 @@ echo "--- Starting application... ---"
25
  export TRANSFORMERS_CACHE="/app/.cache/huggingface/hub"
26
  export CHROMA_SERVER_NO_ANALYTICS=True
27
  source "$SCRIPT_DIR/scripts/setup.sh"
28
- python3 app.py
 
 
 
 
25
  export TRANSFORMERS_CACHE="/app/.cache/huggingface/hub"
26
  export CHROMA_SERVER_NO_ANALYTICS=True
27
  source "$SCRIPT_DIR/scripts/setup.sh"
28
+
29
+ echo "--- Starting application... ---"
30
+ cd /app
31
+ python -m flask run --host=0.0.0.0 --port=${LOCAL_APP_PORT:-8002}