Spaces:
Sleeping
Sleeping
Download Dockerfile from luminoria/Debrief-Backend: direct link, hf CLI and curl.
- Browser
- Download file 364 Bytes
-
https://huggingface.co/spaces/luminoria/Debrief-Backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/luminoria/Debrief-Backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/luminoria/Debrief-Backend/resolve/main/Dockerfile
364 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y ffmpeg && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # pre-downloading Whisper base model | |
| RUN python -c "import whisper; whisper.load_model('base')" | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD uvicorn api.main:app --host 0.0.0.0 --port 7860 |