From c01237ec0fadfae808867dc3c894493998275807 Mon Sep 17 00:00:00 2001 From: Yongteng Lei Date: Wed, 18 Jun 2025 12:37:17 +0800 Subject: [PATCH] Fix: sandbox sandalone context error (#8340) ### What problem does this PR solve? Fix sandbox sandalone context error. #8307. ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) --- sandbox/docker-compose.yml | 8 ++++---- sandbox/executor_manager/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sandbox/docker-compose.yml b/sandbox/docker-compose.yml index 445fdac72..71067f3b6 100644 --- a/sandbox/docker-compose.yml +++ b/sandbox/docker-compose.yml @@ -2,8 +2,8 @@ services: sandbox-executor-manager: container_name: sandbox-executor-manager build: - context: . - dockerfile: executor_manager/Dockerfile + context: ./executor_manager + dockerfile: Dockerfile image: sandbox-executor-manager:latest runtime: runc privileged: true @@ -18,8 +18,8 @@ services: - no-new-privileges:true environment: - SANDBOX_EXECUTOR_MANAGER_POOL_SIZE=${SANDBOX_EXECUTOR_MANAGER_POOL_SIZE:-5} - - SANDBOX_BASE_PYTHON_IMAGE=${SANDBOX_BASE_PYTHON_IMAGE-"sandbox-base-python:latest"} - - SANDBOX_BASE_NODEJS_IMAGE=${SANDBOX_BASE_NODEJS_IMAGE-"sandbox-base-nodejs:latest"} + - SANDBOX_BASE_PYTHON_IMAGE=${SANDBOX_BASE_PYTHON_IMAGE-sandbox-base-python:latest} + - SANDBOX_BASE_NODEJS_IMAGE=${SANDBOX_BASE_NODEJS_IMAGE-sandbox-base-nodejs:latest} - SANDBOX_ENABLE_SECCOMP=${SANDBOX_ENABLE_SECCOMP:-false} - SANDBOX_MAX_MEMORY=${SANDBOX_MAX_MEMORY:-256m} # b, k, m, g - SANDBOX_TIMEOUT=${SANDBOX_TIMEOUT:-10s} # s, m, 1m30s diff --git a/sandbox/executor_manager/Dockerfile b/sandbox/executor_manager/Dockerfile index f3da82d40..85f4f36c7 100644 --- a/sandbox/executor_manager/Dockerfile +++ b/sandbox/executor_manager/Dockerfile @@ -15,7 +15,7 @@ ENV UV_INDEX_URL=https://pypi.tuna.tsinghua.edu.cn/simple WORKDIR /app -COPY executor_manager/ . +COPY . . RUN uv pip install --system -r requirements.txt