tictactoe/Dockerfile
Parley Hatch bba0a06a71 Drop Dockerfile HEALTHCHECK (OrbStack engine doesn't run it; sat in 'starting' forever)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-05-31 18:25:15 -06:00

13 lines
391 B
Docker

# 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;"]