Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Deploy api on dynamic port
Tomas Valenta17a9de23f5c3
diff --git a/api-service/start.sh b/api-service/start.shindex 4f69f6206..e7bebd93e 100755--- a/api-service/start.sh+++ b/api-service/start.sh@@ -4,8 +4,7 @@cd /playground && exec node lib/server.js &# Start python app-# 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 &+cd /app && exec poetry run gunicorn --bind 0.0.0.0:$PORT --workers 1 --threads 8 --timeout 0 app:app -k uvicorn.workers.UvicornWorker &# Wait for any process to exitwait -n