Spaces:
Running

grok-gpu-mcp / Dockerfile
Bonghit's picture
Pin mcp<2.0.0 and allow external Host header
bb75a11 verified
Raw History Blame Contribute Delete
220 Bytes
FROM python:3.12-slim
WORKDIR /app
RUN pip install --no-cache-dir "mcp[cli]>=1.8.0,<2.0.0" starlette uvicorn httpx
COPY app.py /app/app.py
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]