From dd163fec872ea3e4fd839c260faa25150ec42128 Mon Sep 17 00:00:00 2001 From: Bruno Charest Date: Fri, 13 Mar 2026 15:17:05 -0400 Subject: [PATCH] feat: Add `start-container.sh` to manage container startup, patch configurations, and conditionally launch the OpenClaw gateway. --- Dockerfile | 6 +++++- backend/start-container.sh | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c41c14c..fe98dde 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,12 +26,16 @@ LABEL maintainer="Bruno Charest " LABEL description="🦊 Foxy Dev Team — Multi-Agent Orchestration System" LABEL version="2.0.0" -# System deps (CLI tools, Node.js, Git) +# System deps (CLI tools, Node.js, Git, Investigation tools) RUN apt-get update && apt-get install -y --no-install-recommends \ curl \ git \ ca-certificates \ gnupg \ + procps \ + net-tools \ + iproute2 \ + nano \ && mkdir -p /etc/apt/keyrings \ && curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \ && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_22.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ diff --git a/backend/start-container.sh b/backend/start-container.sh index 5cb0ac6..80fc78a 100644 --- a/backend/start-container.sh +++ b/backend/start-container.sh @@ -48,7 +48,7 @@ EOF echo "🚀 Starting OpenClaw Gateway..." # We use 'gateway start' but ensure it binds to all interfaces # We also use --daemon=false if possible, or standard nohup - nohup openclaw gateway start --host 0.0.0.0 > "$FOXY_HOME/logs/gateway.log" 2>&1 & + nohup openclaw gateway start > "$FOXY_HOME/logs/gateway.log" 2>&1 & sleep 3 if pgrep -f "openclaw" > /dev/null; then