apple muncy commited on
Commit
d0bb80b
Β·
1 Parent(s): 0199c20

set Dockerfile to run mcp_server.py uvicorn to 7860

Browse files

Signed-off-by: apple muncy <[email protected]>

Files changed (2) hide show
  1. Dockerfile +1 -1
  2. 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", "app.py"]
 
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=8000, reload=False)
 
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)