Spaces:
Sleeping
Sleeping
Download Dockerfile from jayanth-2005/ca_invoice: direct link, hf CLI and curl.
- Browser
- Download file 484 Bytes
-
https://huggingface.co/spaces/jayanth-2005/ca_invoice/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jayanth-2005/ca_invoice/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jayanth-2005/ca_invoice/resolve/main/Dockerfile
484 Bytes
| FROM python:3.10-slim | |
| WORKDIR /app | |
| # Install tesseract | |
| RUN apt-get update && \ | |
| apt-get install -y tesseract-ocr && \ | |
| rm -rf /var/lib/apt/lists/* | |
| # Install Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy app | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD streamlit run app.py \ | |
| --server.port=7860 \ | |
| --server.address=0.0.0.0 \ | |
| --server.enableCORS=false \ | |
| --server.enableXsrfProtection=false \ | |
| --server.maxUploadSize=200 |