Build ui for prod

This commit is contained in:
2025-04-14 22:55:32 -04:00
parent c4ac1ff14d
commit 9ad87fbac5
15 changed files with 367 additions and 18456 deletions

View File

@@ -6,7 +6,7 @@ FROM node:18-alpine AS base
FROM base AS builder
RUN apk add --no-cache libc6-compat
WORKDIR /builder
COPY . .
COPY ui/ .
RUN \
if [ -f package.json ]; then \
npm i && \
@@ -22,7 +22,7 @@ RUN \
FROM base AS runner
ARG PORT=3000
ENV PORT=${PORT}
ENV VITE_NODE_ENV=production
ENV VITE_NODE_ENV=development
WORKDIR /app
COPY --chown=node --from=builder /builder /app