feat: 31 new tests, metrics LLM counters, Dockerfile caching, Makefile targets, compose limits, code fixes

This commit is contained in:
Marker689
2026-05-11 23:08:09 +03:00
parent 20bf7e6745
commit 18efcf482e
26 changed files with 840 additions and 12 deletions

View File

@@ -7,11 +7,16 @@ COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /usr/local/bin/
WORKDIR /app
COPY pyproject.toml README.md ./
COPY guarddog_nexus/ guarddog_nexus/
# Install dependencies first for layer caching (source changes don't invalidate)
COPY pyproject.toml ./
RUN mkdir -p guarddog_nexus && echo '__version__ = "0.1.0"' > guarddog_nexus/__init__.py
RUN uv pip install . --system
RUN uv pip install --system "guarddog>=2.10.0"
RUN rm -rf guarddog_nexus
# Application source (frequently changes — cached dependency layers preserved)
COPY guarddog_nexus/ guarddog_nexus/
COPY README.md ./
RUN mkdir -p /data /tmp/guarddog-nexus