This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/Dockerfile.frontend
2026-02-16 01:33:08 +00:00

23 lines
713 B
Docker

# ==========================================
# Chat Switchboard - Frontend Dockerfile
# ==========================================
# Static SPA served by nginx. No API proxy —
# in cluster mode, the Ingress routes /api/ to
# the backend service directly.
# Also used for the lite (unmanaged) deployment.
# ==========================================
# Production stage
FROM nginx:alpine
# Static-only nginx config (no /api/ proxy)
COPY nginx.frontend.conf /etc/nginx/conf.d/default.conf
# Built SPA files
COPY src /app/standalone /usr/share/nginx/html
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost/ || exit 1