the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Run template.runCmd before build and remove extra

+4 -4
+4 -4
apps/modal-sandbox/src/providers/hopx/index.ts
··· 133 133 const templateName = name.split("/").pop()!.replace("modal-", ""); 134 134 135 135 try { 136 + template.runCmd( 137 + `echo "This is a custom template built from image ${image}"`, 138 + ); 139 + 136 140 await Template.build(template, { 137 141 name: templateName, 138 142 apiKey: options.hopxApiKey, ··· 150 154 consola.warn( 151 155 `Template ${templateName} already exists or failed to build, connecting to existing template...`, 152 156 error, 153 - ); 154 - 155 - template.runCmd( 156 - `echo "This is a custom template built from image ${image}"`, 157 157 ); 158 158 159 159 const sandbox = await Sandbox.create({