mcp-web / src /mcp-github /Dockerfile
mishrabp's picture
Upload folder using huggingface_hub
00e2392 verified
raw
history blame contribute delete
396 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/core ./src/core
ENV PYTHONPATH=/app/src
EXPOSE 7860
ENV MCP_TRANSPORT=sse
CMD ["python", "src/mcp-github/server.py"]