Spaces:
Sleeping
Sleeping
| # Use Python 3.11 (Official Image) | |
| FROM python:3.11-slim | |
| # 1. Install System Basics | |
| RUN apt-get update && apt-get install -y \ | |
| git \ | |
| curl \ | |
| procps \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # 2. Install Nanobot & Streamlit | |
| # We install directly from PyPI | |
| RUN pip install --no-cache-dir \ | |
| nanobot-ai \ | |
| streamlit \ | |
| watchdog | |
| # 3. Setup Workspace | |
| WORKDIR /app | |
| RUN mkdir -p /root/.nanobot | |
| # 4. Copy Scripts | |
| COPY run.sh /app/run.sh | |
| COPY app.py /app/app.py | |
| RUN chmod +x /app/run.sh | |
| # 5. Expose Port | |
| EXPOSE 7860 | |
| # 6. Run | |
| CMD ["/app/run.sh"] |