Spaces:
Running
Running
apple muncy
commited on
Commit
Β·
d0bb80b
1
Parent(s):
0199c20
set Dockerfile to run mcp_server.py uvicorn to 7860
Browse filesSigned-off-by: apple muncy <[email protected]>
- Dockerfile +1 -1
- app.py +1 -1
Dockerfile
CHANGED
@@ -33,4 +33,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
|
33 |
CMD curl -f http://localhost:8000/ || exit 1
|
34 |
|
35 |
# Run the application
|
36 |
-
CMD ["python", "
|
|
|
33 |
CMD curl -f http://localhost:8000/ || exit 1
|
34 |
|
35 |
# Run the application
|
36 |
+
CMD ["python", "mcp_server.py"]
|
app.py
CHANGED
@@ -533,4 +533,4 @@ if __name__ == "__main__":
|
|
533 |
print("π Starting HF Tagging Bot...")
|
534 |
print("π Dashboard: http://localhost:7860/gradio")
|
535 |
print("π Webhook: http://localhost:7860/webhook")
|
536 |
-
uvicorn.run("app:app", host="0.0.0.0", port=
|
|
|
533 |
print("π Starting HF Tagging Bot...")
|
534 |
print("π Dashboard: http://localhost:7860/gradio")
|
535 |
print("π Webhook: http://localhost:7860/webhook")
|
536 |
+
uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=False)
|