1/** `Cloudflare.Container` bootstrap on the node runtime. */
2import { NodeServices } from "@effect/platform-node";
3import { NodeHttpServer } from "../../Http.ts";
4import {
5 bootstrapContainer,
6 type ContainerBootstrapOptions,
7} from "./CloudflareContainer.ts";
8
9export const bootstrap = (
10 entrypoint: unknown,
11 options: ContainerBootstrapOptions,
12): Promise<void> =>
13 bootstrapContainer(
14 { services: NodeServices.layer, httpServer: NodeHttpServer() },
15 entrypoint,
16 options,
17 );