# Use nginx to serve static files.
# NOTE: production is Cloudflare Pages (auto-deploys the repo root on push to main).
# This image is a secondary/local way to serve the same static site.
FROM nginx:alpine

# Static site lives at the repo root
COPY index.html /usr/share/nginx/html/index.html
COPY privacy-policy.html /usr/share/nginx/html/privacy-policy.html
COPY 404.html /usr/share/nginx/html/404.html
COPY robots.txt /usr/share/nginx/html/robots.txt
COPY sitemap.xml /usr/share/nginx/html/sitemap.xml
COPY logos/ /usr/share/nginx/html/logos/
COPY assets/ /usr/share/nginx/html/assets/

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]
