mgbam commited on
Commit
8bafbc4
·
verified ·
1 Parent(s): 059e91d

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +6 -2
start.sh CHANGED
@@ -1,2 +1,6 @@
1
- #!/usr/bin/env bash
2
- uvicorn main:app --host 0.0.0.0 --port 7860 --reload
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Launch the Uvicorn server, pointing to the 'app' object in the 'app/main.py' module.
4
+ # The --host 0.0.0.0 makes it accessible from outside the container.
5
+ # The port should match the one exposed in your Dockerfile and README.md.
6
+ uvicorn app.main:app --host 0.0.0.0 --port 7860