first commit

This commit is contained in:
龙澳
2026-03-27 16:10:45 +08:00
parent 0a7bd8fe88
commit 90784a2f7d
16 changed files with 1135 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
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"]