Spaces:
Running
Running
Build the Space with Docker: the gradio SDK forces gradio[mcp], which pins mcp<2.0 against fastmcp's mcp>=2.3
17f9ee2 verified Download Dockerfile.mcp-server from datagame/prime-rush-env: direct link, hf CLI and curl.
- Browser
- Download file 662 Bytes
-
https://huggingface.co/spaces/datagame/prime-rush-env/resolve/main/Dockerfile.mcp-server
- Command line
-
hf download hf://spaces/datagame/prime-rush-env/Dockerfile.mcp-server
-
curl -L -o Dockerfile.mcp-server https://huggingface.co/spaces/datagame/prime-rush-env/resolve/main/Dockerfile.mcp-server
662 Bytes
| # Baked into the Archipelago environment image under | |
| # /app/mcp_servers/indus_prime_rush, matching mcp_config.json's cwd. | |
| # | |
| # The game server is NOT in here. This container is a thin MCP client that | |
| # attaches to a match over INDUS_BRIDGE_HOST/PORT, so it needs no cloud | |
| # credentials and no kubectl - provisioning stays outside the harness. | |
| FROM python:3.12-slim | |
| WORKDIR /app/mcp_servers/indus_prime_rush | |
| COPY pyproject.toml ./ | |
| RUN pip install --no-cache-dir "fastmcp>=4.0" "pydantic>=2.0" | |
| COPY indus_mcp ./indus_mcp | |
| ENV MCP_TRANSPORT=stdio \ | |
| INDUS_TASK=zone_survival \ | |
| INDUS_OUTCOME_PATH=/filesystem/outcome.json | |
| CMD ["python", "-m", "indus_mcp.main"] | |