Spaces:
Running
Running
Create docker-deploy.sh
Browse files- docker-deploy.sh +13 -0
docker-deploy.sh
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
# Script for docker deployments
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
# currently unused
|
| 6 |
+
#echo "Re-starting MCP server"
|
| 7 |
+
#nml-mcp &
|
| 8 |
+
|
| 9 |
+
echo "Starting fastapi"
|
| 10 |
+
fastapi run SabarishG/openworm.ai/main.py --host 127.0.0.1 --port 8005 &
|
| 11 |
+
|
| 12 |
+
echo "Starting streamlit frontend"
|
| 13 |
+
streamlit run SabarishG/openworm.ai/streamlit_ui.py --server.port=7860 --server.address=0.0.0.0
|