Sube WebClient

This commit is contained in:
FrancoRu
2026-09-18 13:39:18 -03:00
parent 33a2288ed0
commit 8c068f3129
25 changed files with 4947 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
FROM node:24-bookworm-slim AS build
WORKDIR /src
RUN corepack enable
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
RUN corepack prepare pnpm@11.22.0 --activate && pnpm install --frozen-lockfile
COPY . .
RUN pnpm build # tsc && vite build → build/ (apiUrl is relative, no build ARG needed)
FROM nginx:alpine AS runtime
COPY --from=build /src/build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80