From e73acfe0fa23859b921cab5dcd017496692b3e7b Mon Sep 17 00:00:00 2001 From: Craig Jellick Date: Tue, 6 Oct 2026 09:26:45 -0700 Subject: [PATCH 1/2] fix: pass nanobot config via --config flag nanobot v0.0.91's run command takes no positional arguments, so the container exited immediately with: unknown command "/nanobot.yaml" for "nanobot run". Pass the config path with --config instead. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8bd8d25..c74b784 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,6 @@ RUN chown 1000:1000 /nanobot.yaml ENTRYPOINT ["nanobot"] -CMD ["run", "--listen-address", ":8099", "-e", "WORDPRESS_SITE", "-e", "WORDPRESS_USERNAME", "-e", "WORDPRESS_PASSWORD", "/nanobot.yaml"] +CMD ["run", "--listen-address", ":8099", "-e", "WORDPRESS_SITE", "-e", "WORDPRESS_USERNAME", "-e", "WORDPRESS_PASSWORD", "--config", "/nanobot.yaml"] USER 1000 From 98141ccb87e57285b91b77ed7e1366ababba2e62 Mon Sep 17 00:00:00 2001 From: Craig Jellick Date: Tue, 6 Oct 2026 09:37:58 -0700 Subject: [PATCH 2/2] fix: publish only the WordPress tools from nanobot Without --disable-ui, nanobot run merges its UI config into the published MCP server, which adds tools such as uploadFile, deleteFile, publishArtifact, and the scheduled-task tools beside the WordPress tools. --exclude-built-in-agents removes the chat-with-nanobot tool. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c74b784..d87ac35 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,6 @@ RUN chown 1000:1000 /nanobot.yaml ENTRYPOINT ["nanobot"] -CMD ["run", "--listen-address", ":8099", "-e", "WORDPRESS_SITE", "-e", "WORDPRESS_USERNAME", "-e", "WORDPRESS_PASSWORD", "--config", "/nanobot.yaml"] +CMD ["run", "--exclude-built-in-agents", "--disable-ui", "--listen-address", ":8099", "-e", "WORDPRESS_SITE", "-e", "WORDPRESS_USERNAME", "-e", "WORDPRESS_PASSWORD", "--config", "/nanobot.yaml"] USER 1000