Skip to content

The open-source agent harness - the runtime layer that turns an LLM into a working agent.

feat: add VITE_SANDBOX_ENVIRONMENTS_ENABLED argument to Dockerfile for sandbox environment configuration (#959)

Sujai Kumar Guptac31755014eb8
diff --git a/Dockerfile b/Dockerfile
index 10f7ae2d6..e6988dd39 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -78,6 +78,8 @@ RUN pnpm --filter @truefoundry/trueforge-core build && pnpm --filter @truefoundr
# tsc needs, so this stage never compiles SDK JavaScript.
# ---------------------------------------------------------------------------
FROM workspace AS frontend-builder
+ARG VITE_SANDBOX_ENVIRONMENTS_ENABLED=false
+ENV VITE_SANDBOX_ENVIRONMENTS_ENABLED=$VITE_SANDBOX_ENVIRONMENTS_ENABLED
RUN pnpm install --frozen-lockfile --offline --filter frontend...
COPY packages/trueforge-sdk packages/trueforge-sdk
COPY packages/assistant-ui-runtime packages/assistant-ui-runtime