- Multi-stage Dockerfile; build stage runs the snapshot + vite build, runtime stage serves dist/ with nginx - nginx.conf: hash-router SPA fallback, immutable caching for /assets/*, no-cache for index.html / sw.js, manifest content-type - docker-compose.yml (localhost:8080), .dockerignore, README section Verified: image builds, container serves, cache headers + SPA fallback correct. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
14 lines
119 B
Plaintext
14 lines
119 B
Plaintext
node_modules
|
|
dist
|
|
dev-dist
|
|
.git
|
|
.gitignore
|
|
.vite
|
|
*.log
|
|
.DS_Store
|
|
.vscode
|
|
.idea
|
|
Dockerfile
|
|
docker-compose.yml
|
|
README.md
|