fix: correct api-workspace path for non-root container user

The Dockerfile runs as user nanobot (HOME=/home/nanobot), not root.

Made-with: Cursor
This commit is contained in:
Xubin Ren 2026-04-06 08:14:26 +00:00 committed by Xubin Ren
parent d99331ad31
commit 634261f07a

View File

@ -33,7 +33,7 @@ services:
container_name: nanobot-api
<<: *common-config
command:
["serve", "--host", "0.0.0.0", "-w", "/root/.nanobot/api-workspace"]
["serve", "--host", "0.0.0.0", "-w", "/home/nanobot/.nanobot/api-workspace"]
restart: unless-stopped
ports:
- 8900:8900