railyard/apps/game-economy/Dockerfile.dockerignore
caelum0x c04e8139d9 feat(game-economy): production Dockerfile (multi-stage Rust, non-root)
Builds from the repo root like apps/turnstile (path dep on
apps/mint/crates/mint-protocol); a per-Dockerfile .dockerignore keeps the
context to the two workspaces (~2 MB). rust:1.94-bookworm builder,
debian:bookworm-slim runtime as uid 10001, curl healthcheck on /healthz,
listens on 0.0.0.0:8102. Multi-arch bases; builds natively on amd64/arm64.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 02:13:07 +03:00

13 lines
390 B
Docker

# BuildKit picks this up automatically for `-f apps/game-economy/Dockerfile`
# (per-Dockerfile ignore file), so the repo-root build context stays small
# without a root .dockerignore that would affect other images.
*
!apps/game-economy/Cargo.toml
!apps/game-economy/Cargo.lock
!apps/game-economy/crates
!apps/mint/Cargo.toml
!apps/mint/crates
!apps/mint/contracts
**/target
**/node_modules