Revert commits indeseados
Some checks failed
build-and-deploy / filter (push) Successful in 2s
Sync to GitHub / sync (push) Failing after 1s
build-and-deploy / build (push) Failing after 6s
build-and-deploy / deploy (push) Has been skipped

This commit is contained in:
2025-05-30 23:48:22 -06:00
parent 30a2d71536
commit 254beb897a
137 changed files with 25 additions and 12641 deletions

View File

@@ -1,20 +1,10 @@
########## builder ##########
# planilla/ui/Dockerfile
FROM node:18-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
# ─── manifests de todo el monorepo ───
COPY package*.json ./ # raíz
COPY ui/package*.json ./ui/ # propio
# (si tu ui depende de algo en core, agent, etc. copiá también sus package.json)
# npm entiende workspaces porque ve el manifest raíz
RUN npm ci --workspaces --include-workspace-root --omit=dev
# ─── código fuente ───
COPY ui ./ui
RUN npm run --prefix ui build # usa scripts del paquete ui
########## runtime ##########
FROM nginx:alpine
COPY --from=build /app/ui/dist /usr/share/nginx/html
EXPOSE 80
COPY --from=build /app/dist /usr/share/nginx/html