Spaces:
Sleeping
Sleeping
Download Dockerfile from altool/mongo-db-mcp: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/spaces/altool/mongo-db-mcp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/altool/mongo-db-mcp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/altool/mongo-db-mcp/resolve/main/Dockerfile
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"] | |