Files
opencyber/Dockerfile.control
zeekayandHanzo Dev bee799d5c5 feat(control): add clean-room autonomous control plane and native wiring
Adds an independent planner/worker control plane with asset and exploration
graphs, verification-bound findings, traffic replay, approval gates, budgets,
noise governance, operator console, 18 native MCP tools, Hanzo IAM/KMS/Base
adapters, sandbox launch, and a no-build @hanzo/gui-styled shell.

Includes hermetic conformance tests, generated catalog/docs updates, and a
hanzo up Application manifest.

Signed-off-by: z <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-11-20 20:12:59 -08:00

28 lines
883 B
Docker

# Control-plane image for cloud launch.
#
# The base image already carries the MCP harness, the security binaries and the
# offline assets. This layer adds the Starlette control plane and its operator
# console, and exposes the single port the platform run needs. Build and publish
# through the cluster runner (platform.hanzo.ai), never from a laptop.
#
# docker build -f Dockerfile.control -t ghcr.io/hanzoai/opencyber-control:1.0.0-beta.1 .
ARG BASE=ghcr.io/mitkox/opencyber:1.0.0-beta.1
FROM ${BASE}
USER root
COPY pyproject.toml README.md /opt/opencyber/
COPY src/opencyber /opt/opencyber/src/opencyber
RUN python -m pip install --no-cache-dir /opt/opencyber \
&& mkdir -p /workspace
ENV OPENCYBER_CONTROL_HOST=0.0.0.0 \
OPENCYBER_CONTROL_PORT=8787 \
OPENCYBER_STATE_BACKEND=base
EXPOSE 8787
CMD ["opencyber-control", "--host", "0.0.0.0", "--port", "8787"]