Skip to main content
Glama
Dockerfile729 B
# Use a Python image with uv pre-installed FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim # Set working directory WORKDIR /app # Enable bytecode compilation ENV UV_COMPILE_BYTECODE=1 # Copy dependency files first COPY pyproject.toml . COPY uv.lock . # Install dependencies (system-wide for Docker) RUN uv sync --frozen --no-install-project --no-dev # Copy source code and other files COPY src/ src/ COPY .env.example . COPY README.md . # Add /app to PYTHONPATH so src.main works ENV PYTHONPATH=/app # Expose port 8080 (Fly.io standard) ENV PORT=8080 EXPOSE 8080 # Run uvicorn server (SSE mode) # Use 0.0.0.0 to bind to all interfaces CMD ["uv", "run", "uvicorn", "src.sse:app", "--host", "0.0.0.0", "--port", "8080"]

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JunHyungKang/t1d-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server