hamza82 commited on
Commit
af12caa
·
verified ·
1 Parent(s): de34df9

Update run.sh

Browse files
Files changed (1) hide show
  1. run.sh +2 -2
run.sh CHANGED
@@ -19,8 +19,8 @@ echo "Starting Backend Server..."
19
  cd backend # Navigate to your backend directory if needed
20
  # Replace `python app.py` with the command you use to start your backend server.
21
  # Make sure to run it in the background so the script can continue and not block.
22
- python app.py &
23
-
24
  # Keep the script running to prevent the Docker container from exiting.
25
  # This is necessary because running the backend server in the background
26
  # would make the script exit immediately otherwise.
 
19
  cd backend # Navigate to your backend directory if needed
20
  # Replace `python app.py` with the command you use to start your backend server.
21
  # Make sure to run it in the background so the script can continue and not block.
22
+ # python app.py &
23
+ uvicorn app:app --host 0.0.0.0 --port 8000 --reload &
24
  # Keep the script running to prevent the Docker container from exiting.
25
  # This is necessary because running the backend server in the background
26
  # would make the script exit immediately otherwise.