Spaces:
Sleeping
Sleeping
Download Dockerfile from Procid/OCR_Rrecognition_backend: direct link, hf CLI and curl.
- Browser
- Download file 212 Bytes
-
https://huggingface.co/spaces/Procid/OCR_Rrecognition_backend/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Procid/OCR_Rrecognition_backend/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Procid/OCR_Rrecognition_backend/resolve/main/Dockerfile
212 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| WORKDIR /app/backend | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "backend_api:app"] |