prime-rush-env / Dockerfile.mcp-server
IndusHomie's picture
Build the Space with Docker: the gradio SDK forces gradio[mcp], which pins mcp<2.0 against fastmcp's mcp>=2.3
17f9ee2 verified
Raw History Blame Contribute Delete
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"]