Download Dockerfile from th0mascat/test: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/th0mascat/test/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/th0mascat/test/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/th0mascat/test/resolve/main/Dockerfile
298 Bytes
| FROM python:3.11 | |
| COPY . . | |
| RUN apt-get update && apt-get -y install tesseract-ocr && apt-get install ffmpeg libsm6 libxext6 -y | |
| RUN pip install librosa | |
| RUN pip install -r requirements.txt | |
| RUN mkdir -p /cache && chmod 777 /cache | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |