mongo-db-mcp / Dockerfile
Subham9126's picture
Create Dockerfile
4bc987e verified
Raw
History Blame Contribute Delete
383 Bytes
# Use the official MongoDB MCP server image
FROM mongodb/mongodb-mcp-server:latest
# Expose the standard Hugging Face port
EXPOSE 7860
# Override the default entrypoint to run in HTTP mode for Spaces
# Hugging Face requires servers to listen on 0.0.0.0:7860
ENTRYPOINT ["mongodb-mcp-server"]
CMD ["--transport", "http", "--httpHost", "0.0.0.0", "--httpPort", "7860", "--readOnly"]