mcp-github / Dockerfile
mishrabp's picture
Upload folder using huggingface_hub
7ae6787 verified
raw
history blame
456 Bytes
FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
git \
&& rm -rf /var/lib/apt/lists/*
COPY pyproject.toml .
RUN pip install --no-cache-dir .
COPY src/mcp-github ./src/mcp-github
COPY src/mcp_telemetry.py ./src/mcp_telemetry.py
ENV PYTHONPATH=/app/src
EXPOSE 7860
CMD ["python", "src/mcp-github/server.py", "--transport", "sse", "--port", "7860", "--host", "0.0.0.0"]