Spaces:
Build error
Build error
Download Dockerfile from Mohamed-Riyaz/ocr-text-extractor: direct link, hf CLI and curl.
- Browser
- Download file 199 Bytes
-
https://huggingface.co/spaces/Mohamed-Riyaz/ocr-text-extractor/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Mohamed-Riyaz/ocr-text-extractor/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Mohamed-Riyaz/ocr-text-extractor/resolve/main/Dockerfile
199 Bytes
| FROM python:3.9-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860"] |