Spaces:
Sleeping
Sleeping
Download Dockerfile from ssalvo41/llama-3.2-nv-embedqa-1b-v2: direct link, hf CLI and curl.
- Browser
- Download file 211 Bytes
-
https://huggingface.co/spaces/ssalvo41/llama-3.2-nv-embedqa-1b-v2/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ssalvo41/llama-3.2-nv-embedqa-1b-v2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ssalvo41/llama-3.2-nv-embedqa-1b-v2/resolve/main/Dockerfile
211 Bytes
| FROM python:3.11-slim | |
| RUN pip install --no-cache-dir \ | |
| sentence-transformers \ | |
| fastapi \ | |
| uvicorn | |
| COPY server.py . | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "server:app", "--host", "0.0.0.0", "--port", "7860"] | |