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>
13 lines
390 B
Docker
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
|