Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Start server on fixed port

Tomas Valenta9fee3169e2f0
diff --git a/api-service/start.sh b/api-service/start.sh
index 22b15df0f..c4cc8caf2 100755
--- a/api-service/start.sh
+++ b/api-service/start.sh
@@ -4,7 +4,8 @@
cd /playground && node lib/server.js &
# Start python app
-cd /app && exec poetry run gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 8 --timeout 0 app:app -k uvicorn.workers.UvicornWorker &
+# TODO: Start the server on the $PORT port instead of the fixed port.
+cd /app && exec poetry run gunicorn --bind 0.0.0.0:8080 --workers 1 --threads 8 --timeout 0 app:app -k uvicorn.workers.UvicornWorker &
# Wait for any process to exit
wait -n