16 lines
385 B
Plaintext
16 lines
385 B
Plaintext
FROM python:3.12-slim
|
|
|
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
|
|
|
|
WORKDIR /app
|
|
|
|
COPY pyproject.toml uv.lock README.md ./
|
|
RUN uv sync --no-dev --frozen --no-install-project
|
|
|
|
COPY src/ src/
|
|
RUN uv sync --no-dev --frozen
|
|
|
|
ENV PATH="/app/.venv/bin:$PATH"
|
|
|
|
CMD ["uv", "run", "python", "-m", "knowledge_search_mcp", "--transport", "streamable-http", "--port", "8000"]
|