# Ultimate Tic-Tac-Toe — static site served by nginx. # No build step: copy the static assets into the nginx web root. FROM nginx:1.27-alpine # Tuned server config (gzip, cache + security headers, SPA-safe fallback). COPY nginx.conf /etc/nginx/conf.d/default.conf # Static assets. COPY index.html style.css script.js /usr/share/nginx/html/ EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]