@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 15 lines 640 Bytes
Raw
1 import * as Cloudflare from "@alchemy.run/cloudflare";
2
3 /**
4 * Non-Effect container built from a Dockerfile whose base image is the *same*
5 * `oven/bun:latest` the effectful variant uses — but with no Effect program
6 * bundled, just a raw `Bun.serve`. Comparing this against the effectful variant
7 * rules out base-image pull/boot time as the cause of any gap: the remaining
8 * difference is the bundled Effect runtime.
9 */
10 export class BunContainer extends Cloudflare.Container<BunContainer>()("BenchBunContainer", {
11 context: `${import.meta.dirname}/../contexts/bun`,
12 maxInstances: 100,
13 instanceType: "lite",
14 instances: 0,
15 }) {}