Skip to content

Commit 2c37d4d

Browse files
committed
update install sh with new skills folder
1 parent a673621 commit 2c37d4d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

install.sh

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,21 @@ container system start
6666
echo "Pulling the latest image: instavm/coderunner"
6767
container image pull instavm/coderunner
6868

69-
echo "→ Ensuring coderunner assets directory"
69+
echo "→ Ensuring coderunner assets directories"
7070
ASSETS_SRC="$HOME/.coderunner/assets"
71-
mkdir -p "$ASSETS_SRC"
71+
mkdir -p "$ASSETS_SRC/skills/user"
72+
mkdir -p "$ASSETS_SRC/outputs"
7273

7374
# Run the command to start the sandbox container
7475
echo "Running: container run --name coderunner --detach --rm --cpus 8 --memory 4g instavm/coderunner"
75-
container run --volume "$ASSETS_SRC:/app/uploads" --name coderunner --detach --rm --cpus 8 --memory 4g instavm/coderunner
76+
container run \
77+
--volume "$ASSETS_SRC/skills/user:/app/uploads/skills/user" \
78+
--volume "$ASSETS_SRC/outputs:/app/uploads/outputs" \
79+
--name coderunner \
80+
--detach \
81+
--rm \
82+
--cpus 8 \
83+
--memory 4g \
84+
instavm/coderunner
7685

7786
echo "✅ Setup complete. MCP server is available at http://coderunner.local:8222/mcp"

0 commit comments

Comments
 (0)