Compare commits

..

No commits in common. "120524962850c6b2a8d141acd6fcd826122f05d4" and "48a06a2a791000caecfa2b593d4a0163d7c78ccb" have entirely different histories.

2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@because/sandlot",
"version": "0.0.36",
"version": "0.0.35",
"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", "32G"]
const args = ["container", "run", "-d", "--name", CONTAINER_NAME, "-m", "4G"]
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")