Download Dockerfile from THED1/AIAGENT: direct link, hf CLI and curl.
- Browser
- Download file 325 Bytes
-
https://huggingface.co/spaces/THED1/AIAGENT/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/THED1/AIAGENT/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/THED1/AIAGENT/resolve/main/Dockerfile
325 Bytes
| FROM python:3.10-slim | |
| # Install requirements | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app | |
| COPY app.py . | |
| # Create data directory | |
| RUN mkdir -p /data && chmod 777 /data | |
| # Expose port | |
| EXPOSE 7860 | |
| # Run FastAPI server | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |