first commit
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user