Download Dockerfile from VoxlDev/STT: direct link, hf CLI and curl.
- Browser
- Download file 432 Bytes
-
https://huggingface.co/spaces/VoxlDev/STT/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/VoxlDev/STT/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/VoxlDev/STT/resolve/main/Dockerfile
432 Bytes
| FROM python:3.12 | |
| RUN mkdir -p /app/cache && chmod 777 /app/cache | |
| RUN mkdir -p /.cache && chmod 777 /.cache | |
| WORKDIR /code | |
| RUN chmod -R 777 /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN apt-get update && apt-get install -y \ | |
| python3-pyaudio \ | |
| portaudio19-dev | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "run:app", "--host", "0.0.0.0", "--port", "7860", "--reload"] |