Spaces:
Running
Running
Update start.sh
Browse files
start.sh
CHANGED
@@ -1,2 +1,6 @@
|
|
1 |
-
#!/
|
2 |
-
|
|
|
|
|
|
|
|
|
|
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
|