Spaces:
Paused
Paused
| FROM python:3.12-slim | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| curl ca-certificates dnsutils \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ | |
| ENV HOME=/root | |
| WORKDIR /root | |
| RUN uv pip install --system --no-cache nanobot-ai | |
| RUN mkdir -p /root/.nanobot/workspace | |
| COPY config.json /root/.nanobot/config.json | |
| COPY start.sh /start.sh | |
| RUN chmod +x /start.sh | |
| EXPOSE 7860 | |
| CMD ["/start.sh"] |