Release Build

wasm-drydock release

This command:

  1. Runs wasm-pack build --release on the frontend
  2. Compiles frontend/styles/screen.scss to frontend/styles/screen.css
  3. Runs cargo build --release --features embed-assets on the backend

The result is a single self-contained binary in target/release/ with all frontend assets — WASM, JavaScript, CSS, index.html, and public assets — compiled in. The binary has zero runtime filesystem dependencies.

Configuration at runtime

The release binary embeds configuration/base.yaml at compile time. To override settings at runtime without recompiling, place an environment-specific YAML file next to the binary:

my-app-backend          ← the binary
configuration/
└── production.yaml     ← optional override

APP_* environment variables are always applied last and override everything:

APP_APPLICATION__HOST=0.0.0.0 ./my-app-backend