Compare commits
1 Commits
main
...
8675a89b80
| Author | SHA1 | Date | |
|---|---|---|---|
| 8675a89b80 |
@@ -6,4 +6,4 @@ __pycache__/
|
||||
.env
|
||||
agent.py
|
||||
AGENTS.md
|
||||
|
||||
README.md
|
||||
|
||||
@@ -41,3 +41,10 @@ jobs:
|
||||
- run: uv sync --frozen
|
||||
- name: Run tests
|
||||
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/
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml uv.lock README.md ./
|
||||
RUN uv sync --no-dev --frozen --no-install-project
|
||||
COPY pyproject.toml uv.lock ./
|
||||
RUN uv sync --no-dev --frozen
|
||||
|
||||
COPY src/ src/
|
||||
RUN uv sync --no-dev --frozen
|
||||
|
||||
ENV PATH="/app/.venv/bin:$PATH"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user