Download Dockerfile from saveenergysystems/vision-embedding-model-SES: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/saveenergysystems/vision-embedding-model-SES/resolve/main/Dockerfile
- Command line
-
hf download hf://saveenergysystems/vision-embedding-model-SES/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/saveenergysystems/vision-embedding-model-SES/resolve/main/Dockerfile
460 Bytes
| FROM nvidia/cuda:12.4.1-cudnn-runtime-ubuntu22.04 | |
| ENV DEBIAN_FRONTEND=noninteractive \ | |
| PYTHONUNBUFFERED=1 \ | |
| HF_HUB_ENABLE_HF_TRANSFER=1 | |
| RUN apt-get update && apt-get install -y \ | |
| python3.11 python3-pip git \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| EXPOSE 8080 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"] |