CoolFace
Apppublic

LRAMIRIO/sisreq-docker-final2

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile19 linesDownload Raw Back to root
1FROM python:3.10-slim2 3RUN apt-get update && apt-get install -y \4    poppler-utils \5    tesseract-ocr \6    tesseract-ocr-por \7    && apt-get clean8 9WORKDIR /app10ENV HOME=/app11 12COPY . /app13 14RUN mkdir -p $HOME/.streamlit && \15    echo "[server]\nheadless = true\nport = 7860\nenableCORS = false\nenableXsrfProtection = false\n" > $HOME/.streamlit/config.toml16 17RUN pip install --no-cache-dir -r requirements.txt18 19CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]