Compare commits

...

2 Commits

Author SHA1 Message Date
1205249628 0.0.36 2026-03-18 22:36:08 -07:00
2ca978b728 Increase container memory limit from 4G to 32G 2026-03-18 22:36:04 -07:00
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@because/sandlot",
"version": "0.0.35",
"version": "0.0.36",
"description": "Sandboxed, branch-based development with Claude",
"type": "module",
"bin": {

View File

@ -64,7 +64,7 @@ function hostMounts(home: string): { dev: boolean; code: boolean } {
/** Pull the image and start the container in detached mode. */
async function createContainer(home: string): Promise<void> {
const mounts = hostMounts(home)
const args = ["container", "run", "-d", "--name", CONTAINER_NAME, "-m", "4G"]
const args = ["container", "run", "-d", "--name", CONTAINER_NAME, "-m", "32G"]
if (mounts.dev) args.push("--mount", `type=bind,source=${home}/dev,target=/host/dev,readonly`)
if (mounts.code) args.push("--mount", `type=bind,source=${home}/code,target=/host/code,readonly`)
args.push("-v", `${home}/.sandlot:/sandlot`, "ubuntu:24.04", "sleep", "infinity")