Spaces:
Sleeping
Sleeping
Download Dockerfile from meta-scaler/procurement: direct link, hf CLI and curl.
- Browser
- Download file 533 Bytes
-
https://huggingface.co/spaces/meta-scaler/procurement/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/meta-scaler/procurement/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/meta-scaler/procurement/resolve/main/Dockerfile
533 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| # Install curl for health check | |
| RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* | |
| COPY . . | |
| RUN pip install --no-cache-dir uv && uv pip install --system -e . | |
| EXPOSE 7860 | |
| # Safe default — validator overrides at runtime | |
| ENV MODEL_NAME=Qwen/Qwen2.5-7B-Instruct | |
| COPY start.sh /app/start.sh | |
| RUN chmod +x /app/start.sh | |
| # HF Space: just run the server. The validator handles inference separately. | |
| CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"] |