Compare commits
1 Commits
main
...
8675a89b80
| Author | SHA1 | Date | |
|---|---|---|---|
| 8675a89b80 |
@@ -6,4 +6,4 @@ __pycache__/
|
|||||||
.env
|
.env
|
||||||
agent.py
|
agent.py
|
||||||
AGENTS.md
|
AGENTS.md
|
||||||
|
README.md
|
||||||
|
|||||||
@@ -41,3 +41,10 @@ jobs:
|
|||||||
- run: uv sync --frozen
|
- run: uv sync --frozen
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: uv run pytest --cov
|
run: uv run pytest --cov
|
||||||
|
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build container image
|
||||||
|
run: docker build -f DockerfileConnector -t knowledge-search-mcp:test .
|
||||||
|
|||||||
@@ -1,14 +1,13 @@
|
|||||||
FROM python:3.12-slim
|
FROM quay.ocp.banorte.com/golden/python-312:latest
|
||||||
|
|
||||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
|
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY pyproject.toml uv.lock README.md ./
|
COPY pyproject.toml uv.lock ./
|
||||||
RUN uv sync --no-dev --frozen --no-install-project
|
RUN uv sync --no-dev --frozen
|
||||||
|
|
||||||
COPY src/ src/
|
COPY src/ src/
|
||||||
RUN uv sync --no-dev --frozen
|
|
||||||
|
|
||||||
ENV PATH="/app/.venv/bin:$PATH"
|
ENV PATH="/app/.venv/bin:$PATH"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user