Spaces:
Runtime error
Runtime error
Download DockerFile from KeyarSrini/receipt-reader-ai: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/spaces/KeyarSrini/receipt-reader-ai/resolve/main/DockerFile
- Command line
-
hf download hf://spaces/KeyarSrini/receipt-reader-ai/DockerFile
-
curl -L -o DockerFile https://huggingface.co/spaces/KeyarSrini/receipt-reader-ai/resolve/main/DockerFile
294 Bytes
| FROM python:3.9-slim | |
| RUN apt-get update && \ | |
| apt-get install -y tesseract-ocr libglib2.0-0 libsm6 libxext6 libxrender-dev && \ | |
| pip install --upgrade pip | |
| COPY requirements.txt /app/requirements.txt | |
| WORKDIR /app | |
| RUN pip install -r requirements.txt | |
| COPY . /app | |
| CMD ["python", "app.py"] | |