terainia/.dockerignore
Maximus Gorog f239a939ce Add Docker + Caddy deploy for voxel.mxvs.art
Multi-stage Dockerfile compiles wasm client + axum server in one Rust
builder and copies into a debian:bookworm-slim runtime (non-root uid).
docker-compose.yml binds localhost:8080 by default; docker-compose.prod.yml
replaces ports with a Caddy reverse proxy on host 80/443 that talks to
the voxel container over the internal network. Caddy auto-issues Let's
Encrypt certs.

DEPLOY.md covers the three deployment modes (local-only, VPS with
Cloudflare or Caddy, Cloudflare Tunnel from a workstation).
2026-05-23 18:45:05 -06:00

16 lines
278 B
Text

# Keep build artifacts out of the build context so the image stays small.
target/
**/target/
.git/
.idea/
.vscode/
# Generated wasm in web/ — we want the *build* to produce these.
web/voxel_game.js
web/voxel_game_bg.wasm
web/voxel_game.d.ts
# Misc
*.swp
.DS_Store
Thumbs.db