name = "numericalos-iso-builder"
main = "src/index.ts"
compatibility_date = "2026-08-06"
compatibility_flags = ["nodejs_compat"]
# Pre-built public image — no local Docker required to deploy.
# Build tools (cpio/xorriso/grub) are installed at runtime in the sandbox
# on first use. Custom Dockerfile remains for optional offline image bake.
[[containers]]
class_name = "Sandbox"
image = "docker.io/cloudflare/sandbox:0.7.0"
instance_type = "basic"
max_instances = 2
[[durable_objects.bindings]]
class_name = "Sandbox"
name = "Sandbox"
[[migrations]]
tag = "v1"
new_sqlite_classes = ["Sandbox"]
[[r2_buckets]]
binding = "ARTIFACTS"
bucket_name = "numericalos-artifacts"
# Set after deploy (fail-closed without it):
# npx wrangler secret put BUILD_TOKEN