Rename entrypoint

This commit is contained in:
2026-03-03 18:53:45 +00:00
parent dba94107a5
commit f6e122b5a9
3 changed files with 3 additions and 4 deletions

View File

@@ -7,9 +7,8 @@ WORKDIR /app
COPY pyproject.toml uv.lock ./
RUN uv sync --no-dev --frozen
COPY main.py .
COPY utils/ utils/
COPY src/ src/
ENV PATH="/app/.venv/bin:$PATH"
CMD ["uv", "run", "python", "main.py", "--transport", "streamable-http", "--port", "8000"]
CMD ["uv", "run", "python", "-m", "knowledge_search_mcp", "--transport", "streamable-http", "--port", "8000"]

View File

@@ -16,7 +16,7 @@ dependencies = [
]
[project.scripts]
knowledge-search-mcp = "knowledge_search_mcp.main:main"
knowledge-search-mcp = "knowledge_search_mcp.__main__:main"
[dependency-groups]
dev = [