CoolFace
Apppublic

Bhuvi13/Remittance-Annotation

sourceHugging Faceupdated 8mo agoView on Hugging Face
0likes
Dockerfile26 linesDownload Raw Back to root
1FROM python:3.13.5-slim2 3WORKDIR /app4 5RUN apt-get update && apt-get install -y \6    build-essential \7    curl \8    git \9    tesseract-ocr \10    && rm -rf /var/lib/apt/lists/*11 12COPY requirements.txt ./13COPY src/ ./src/14 15RUN pip3 install -r requirements.txt16 17# Fix 403 error on file uploads18ENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false19ENV STREAMLIT_SERVER_ENABLE_CORS=false20ENV STREAMLIT_SERVER_MAX_UPLOAD_SIZE=20021 22EXPOSE 850123 24HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health25 26ENTRYPOINT ["streamlit", "run", "src/streamlit_app.py", "--server.port=8501", "--server.address=0.0.0.0"]