Kaballas commited on
Commit
d7da6ee
·
1 Parent(s): 70a8675
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -37,7 +37,6 @@ ENV HOME=/home/user \
37
  PORT=7860
38
 
39
  EXPOSE 7860
40
- HEALTHCHECK --interval=30s --timeout=5s --start-period=15s \
41
- CMD curl -f http://localhost:7860/ || exit 1
42
 
43
- CMD uvicorn app:app --host 0.0.0.0 --port $PORT --workers 1
 
 
37
  PORT=7860
38
 
39
  EXPOSE 7860
 
 
40
 
41
+ # Run the server using uv as a module, compatible with Hugging Face Spaces
42
+ CMD ["uv", "run", "mcp_server_mariadb_vector", "--host", "0.0.0.0", "--port", "7860"]