feat: add key-free demo mode replaying recorded fixtures
This commit is contained in:
parent
0664cc2d27
commit
401a0ddea7
21 changed files with 1040 additions and 31 deletions
|
|
@ -6,11 +6,15 @@ RUN npm ci
|
|||
COPY frontend/ ./
|
||||
RUN npm run build
|
||||
|
||||
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim
|
||||
WORKDIR /srv
|
||||
FROM ghcr.io/astral-sh/uv:python3.13-bookworm-slim AS live
|
||||
WORKDIR /srv/backend
|
||||
COPY backend/pyproject.toml backend/uv.lock ./
|
||||
RUN uv sync --frozen --no-dev --no-install-project
|
||||
COPY backend/app ./app
|
||||
COPY eval/scenarios.yaml ../eval/scenarios.yaml
|
||||
COPY --from=frontend /build/dist ./app/static
|
||||
EXPOSE 8000
|
||||
CMD ["uv", "run", "--no-sync", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|
||||
|
||||
FROM live AS demo
|
||||
COPY eval/fixtures ../eval/fixtures
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue