Download Dockerfile from a9/aa: direct link, hf CLI and curl.
- Browser
- Download file 483 Bytes
-
https://huggingface.co/spaces/a9/aa/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/a9/aa/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/a9/aa/resolve/main/Dockerfile
483 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install minimal system dependencies | |
| RUN apt-get update && \ | |
| apt-get install -y --no-install-recommends \ | |
| curl \ | |
| libcurl4 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Install Python packages | |
| RUN pip install --no-cache-dir \ | |
| fastapi \ | |
| uvicorn \ | |
| openai \ | |
| requests \ | |
| google-genai \ | |
| firebase-admin \ | |
| turbobpe | |
| # Copy app | |
| COPY app.py . | |
| # Run server | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |