diff --git a/builds/microsandbox/Dockerfile b/builds/microsandbox/Dockerfile index fb858ca..69f17e8 100644 --- a/builds/microsandbox/Dockerfile +++ b/builds/microsandbox/Dockerfile @@ -15,7 +15,7 @@ RUN apt update && \ # Install microsandbox using the official install script # This ensures we always get the latest version if MICROSANDBOX_VERSION is not set # and handles architecture detection automatically -RUN VERSION="${MICROSANDBOX_VERSION:-}" \ +RUN VERSION="${MICROSANDBOX_VERSION:-}" && \ curl -fsSL https://raw.githubusercontent.com/zerocore-ai/microsandbox/refs/heads/main/scripts/install_microsandbox.sh | sh # Setup directories for root user diff --git a/builds/microsandbox/docker-compose.yaml b/builds/microsandbox/docker-compose.yaml index 3ae9603..be6932c 100644 --- a/builds/microsandbox/docker-compose.yaml +++ b/builds/microsandbox/docker-compose.yaml @@ -58,7 +58,7 @@ services: exec server start --host 0.0.0.0 --port $${MICROSANDBOX_PORT:-5555} $${DEV_FLAG}; working_dir: /workspace healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:${MICROSANDBOX_PORT:-5555}/health"] + test: ["CMD-SHELL", "msb --version || exit 1"] interval: 30s timeout: 10s retries: 3