scaffold: kind+Tilt cluster, api/ui/docs stubs, green at nvi.local.ar

This commit is contained in:
2026-06-03 00:33:51 -03:00
commit 131f4d9b86
39 changed files with 3571 additions and 0 deletions

22
ctrl/Dockerfile.ui Normal file
View File

@@ -0,0 +1,22 @@
FROM node:22-slim AS build
# Pin pnpm to v9 — v10 treats "ignored build scripts" (esbuild, vue-demi) as
# fatal under CI=true. Allowlisting them belongs in spr's framework
# package.json; until that lands, v9's lenient behavior keeps us building.
RUN corepack enable && corepack prepare pnpm@9 --activate
WORKDIR /ui
COPY ui/framework/ framework/
COPY ui/app/ app/
ENV CI=true
WORKDIR /ui/framework
RUN pnpm install
WORKDIR /ui/app
RUN pnpm install && pnpm run build
FROM nginx:alpine
COPY --from=build /ui/app/dist /usr/share/nginx/html
COPY ctrl/nginx.conf /etc/nginx/conf.d/default.conf