FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim ENV PATH="/root/.local/bin:${PATH}" # Install nanobot from PyPI via uv tool. RUN uv tool install --upgrade nanobot-ai -i https://pypi.tuna.tsinghua.edu.cn/simple # Persist nanobot config/workspace here via volume mount. RUN mkdir -p /root/.nanobot WORKDIR /workspace EXPOSE 18790 ENTRYPOINT ["nanobot"] CMD ["status"]