#!/usr/bin/env node
import {
  WebContainerServer
} from "./chunk-Y6ZWNQMZ.js";

// src/start.ts
import path from "path";
var port = parseInt(process.env.PORT || "3000", 10);
var host = process.env.HOST || "localhost";
var workspaceRoot = process.env.WORKSPACE_ROOT || path.join(process.cwd(), "workspaces");
var server = new WebContainerServer({
  port,
  host,
  workspaceRoot
}).start();
console.log(`WebContainer Server is running on http://${host}:${port}`);
