Subham9126 commited on
Commit
4bc987e
·
verified ·
1 Parent(s): 3c28530

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -0
Dockerfile ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the official MongoDB MCP server image
2
+ FROM mongodb/mongodb-mcp-server:latest
3
+
4
+ # Expose the standard Hugging Face port
5
+ EXPOSE 7860
6
+
7
+ # Override the default entrypoint to run in HTTP mode for Spaces
8
+ # Hugging Face requires servers to listen on 0.0.0.0:7860
9
+ ENTRYPOINT ["mongodb-mcp-server"]
10
+ CMD ["--transport", "http", "--httpHost", "0.0.0.0", "--httpPort", "7860", "--readOnly"]