Updates to pages

This commit is contained in:
2026-04-04 18:31:28 -04:00
parent 070337577c
commit ca95582d92
42 changed files with 2831 additions and 640 deletions

30
docker/Dockerfile.ui Normal file
View File

@@ -0,0 +1,30 @@
# syntax=docker/dockerfile:1
# =========
# Builder
# =========
FROM node:lts-alpine AS builder
WORKDIR /app
# Install dependencies first (better layer caching)
COPY ui/package.json ui/package-lock.json ./
RUN npm ci
# Copy the rest of the UI source and build
COPY ui/ ./
RUN npm run build
# =========
# Runtime
# =========
FROM nginx:alpine AS runtime
# Replace the default nginx config with our custom one
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf
# Copy the built assets from the builder stage
COPY --from=builder /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]