Download ocr-tech/spaces/limbu-ocr/Dockerfile from prosperious/ocr-projects-archive: direct link, hf CLI and curl.
- Browser
- Download file 456 Bytes
-
https://huggingface.co/prosperious/ocr-projects-archive/resolve/main/ocr-tech/spaces/limbu-ocr/Dockerfile
- Command line
-
hf download hf://prosperious/ocr-projects-archive/ocr-tech/spaces/limbu-ocr/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/prosperious/ocr-projects-archive/resolve/main/ocr-tech/spaces/limbu-ocr/Dockerfile
456 Bytes
| FROM python:3.11-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PIP_NO_CACHE_DIR=1 \ | |
| GRADIO_SERVER_NAME=0.0.0.0 \ | |
| GRADIO_SERVER_PORT=7860 | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| libgl1 \ | |
| libglib2.0-0 \ | |
| libgomp1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN python -m pip install --upgrade pip && python -m pip install -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |