2cab53bc94
Docker Publish / Build and Push Docker Images (map[description:Skill Seekers CLI - Convert documentation to AI skills dockerfile:Dockerfile name:skill-seekers]) (push) Waiting to run
Docker Publish / Build and Push Docker Images (map[description:Skill Seekers MCP Server - 25 tools for AI assistants dockerfile:Dockerfile.mcp name:skill-seekers-mcp]) (push) Waiting to run
Docker Publish / Test Docker Images (push) Blocked by required conditions
Test Vector Database Adaptors / Test chroma Adaptor (push) Waiting to run
Test Vector Database Adaptors / Test faiss Adaptor (push) Waiting to run
Test Vector Database Adaptors / Test qdrant Adaptor (push) Waiting to run
Test Vector Database Adaptors / Test weaviate Adaptor (push) Waiting to run
Test Vector Database Adaptors / Test MCP Vector DB Tools (push) Waiting to run
Tests / Code Quality (Ruff & Mypy) (push) Waiting to run
Tests / Fast Unit Tests (parallel) (macos-latest, 3.11) (push) Waiting to run
Tests / Fast Unit Tests (parallel) (macos-latest, 3.12) (push) Waiting to run
Tests / Fast Unit Tests (parallel) (ubuntu-latest, 3.10) (push) Waiting to run
Tests / Fast Unit Tests (parallel) (ubuntu-latest, 3.11) (push) Waiting to run
Tests / Fast Unit Tests (parallel) (ubuntu-latest, 3.12) (push) Waiting to run
Tests / Tests (push) Blocked by required conditions
Tests / Serial / Integration / E2E Tests (push) Blocked by required conditions
Tests / MCP Server Tests (push) Blocked by required conditions
58 lines
1.7 KiB
Docker
58 lines
1.7 KiB
Docker
# Skill Seekers MCP Server - Docker Image
|
|
# Optimized for MCP server deployment (stdio + HTTP modes)
|
|
|
|
FROM python:3.12-slim
|
|
|
|
LABEL maintainer="Skill Seekers <noreply@skillseekers.dev>"
|
|
LABEL description="Skill Seekers MCP Server - 35 tools for AI skills generation"
|
|
LABEL version="3.3.0"
|
|
|
|
WORKDIR /app
|
|
|
|
# Install runtime dependencies
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
git \
|
|
curl \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# Create non-root user
|
|
RUN useradd -m -u 1000 -s /bin/bash mcp && \
|
|
mkdir -p /app /data /configs /output && \
|
|
chown -R mcp:mcp /app /data /configs /output
|
|
|
|
# Copy application files
|
|
COPY --chown=mcp:mcp src/ src/
|
|
COPY --chown=mcp:mcp configs/ configs/
|
|
COPY --chown=mcp:mcp pyproject.toml README.md ./
|
|
|
|
# Install dependencies
|
|
RUN pip install --no-cache-dir --upgrade pip && \
|
|
pip install --no-cache-dir -e ".[all-llms]" && \
|
|
pip install --no-cache-dir mcp
|
|
|
|
# Switch to non-root user
|
|
USER mcp
|
|
|
|
# Environment variables
|
|
ENV PYTHONUNBUFFERED=1 \
|
|
PYTHONDONTWRITEBYTECODE=1 \
|
|
MCP_TRANSPORT=http \
|
|
MCP_PORT=8765 \
|
|
SKILL_SEEKERS_HOME=/data \
|
|
SKILL_SEEKERS_OUTPUT=/output
|
|
|
|
# Health check for HTTP mode
|
|
HEALTHCHECK --interval=30s --timeout=10s --start-period=10s --retries=3 \
|
|
CMD curl -f http://localhost:${MCP_PORT}/health || exit 1
|
|
|
|
# Volumes
|
|
VOLUME ["/data", "/configs", "/output"]
|
|
|
|
# Expose MCP server port (default 8765, overridden by $PORT on cloud platforms)
|
|
EXPOSE ${MCP_PORT:-8765}
|
|
|
|
# Start MCP server in HTTP mode by default
|
|
# Uses shell form so $PORT/$MCP_PORT env vars are expanded at runtime
|
|
# Cloud platforms (Render, Railway, etc.) set $PORT automatically
|
|
CMD python -m skill_seekers.mcp.server_fastmcp --http --host 0.0.0.0 --port ${PORT:-${MCP_PORT:-8765}}
|