# Bettersight Intelligence marketing site — static HTML/CSS/JS, no build # step. Custom nginx.conf adds a reverse proxy for /api/* to the backend # service (see docker-compose.yml) — the browser only ever sees this one # origin, so the calculator/contact-form fetch() calls need no CORS setup # and the backend's own source is never served as a static file. # # Copies only what's meant to be public (index.html, assets/) rather than # the whole build context — nginx.conf, the Dockerfile itself, and the # original standalone bettersight-calculator.html (superseded by # index.html's embedded #selfAssessSection) stay out of the served site. FROM nginx:alpine COPY nginx.conf /etc/nginx/conf.d/default.conf COPY index.html /usr/share/nginx/html/index.html COPY assets /usr/share/nginx/html/assets EXPOSE 80