Spaces:
Sleeping
Sleeping
Download Dockerfile from MTORXYZ/MTOR-Testing: direct link, hf CLI and curl.
- Browser
- Download file 693 Bytes
-
https://huggingface.co/spaces/MTORXYZ/MTOR-Testing/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/MTORXYZ/MTOR-Testing/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/MTORXYZ/MTOR-Testing/resolve/main/Dockerfile
693 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. FORCE INSTALL (THE "NUKE" STEP) | |
| # We add a dummy echo here to break the cache and force a re-download. | |
| # 'pyautogen' is the pip package name. 'autogen' is the import name. | |
| RUN echo "Forcing fresh install - v2" && \ | |
| pip install --no-cache-dir \ | |
| fastapi==0.110.0 \ | |
| uvicorn==0.27.1 \ | |
| python-dotenv==1.0.1 \ | |
| pyautogen==0.2.27 \ | |
| openenv-core>=0.2.0 | |
| # 3. Copy files | |
| COPY . . | |
| # 4. Set environment | |
| ENV PYTHONPATH=/app | |
| EXPOSE 8000 | |
| # 5. Start | |
| CMD |