Fix Dockerfile RUN syntax and healthcheck command

Co-authored-by: Sun-ZhenXing <44517244+Sun-ZhenXing@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-01-15 07:44:21 +00:00
parent e263ddf084
commit bba4b43ed6
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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