Download Dockerfile from tantk/gpu_endpoint: direct link, hf CLI and curl.
- Browser
- Download file 447 Bytes
-
https://huggingface.co/tantk/gpu_endpoint/resolve/main/Dockerfile
- Command line
-
hf download hf://tantk/gpu_endpoint/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/tantk/gpu_endpoint/resolve/main/Dockerfile
447 Bytes
| FROM pytorch/pytorch:2.4.0-cuda12.4-cudnn9-runtime | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ffmpeg libsndfile1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY app.py . | |
| COPY voxtral_inference.py . | |
| # HF Inference Endpoints require port 80 | |
| EXPOSE 80 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "80"] | |