Spaces:
Sleeping
Sleeping
Download Dockerfile from TANMIHA/MTOR: direct link, hf CLI and curl.
- Browser
- Download file 641 Bytes
-
https://huggingface.co/spaces/TANMIHA/MTOR/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/TANMIHA/MTOR/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/TANMIHA/MTOR/resolve/main/Dockerfile
641 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # 1. Install system tools | |
| RUN apt-get update && apt-get install -y build-essential curl && rm -rf /var/lib/apt/lists/* | |
| # 2. Install dependencies | |
| # Added 'requests' which is needed for the wait-loop in inference.py | |
| RUN pip install --no-cache-dir \ | |
| fastapi==0.110.0 \ | |
| uvicorn==0.27.1 \ | |
| python-dotenv==1.0.1 \ | |
| pyautogen==0.2.27 \ | |
| requests \ | |
| openenv-core>=0.2.0 | |
| # 3. Copy files | |
| COPY . . | |
| # 4. Set environment | |
| ENV PYTHONPATH=/app | |
| EXPOSE 7860 | |
| # 5. Start | |
| # Using 7860 as requested by the hackathon validator logs | |
| CMD |