fix: container compile

This commit is contained in:
Acbox
2026-02-07 20:02:11 +08:00
parent 60b4420235
commit b237594495
+2
View File
@@ -5,6 +5,8 @@ IMAGE="memoh-mcp:dev"
if [ "$(uname -s)" = "Darwin" ]; then
limactl shell default -- nerdctl build -f cmd/mcp/Dockerfile -t "$IMAGE" .
# Import into rootful containerd so the Go agent can find the image
limactl shell default -- sh -c "nerdctl save $IMAGE | sudo nerdctl load"
exit $?
fi