image-to-text-ocr / Dockerfile
KZTech's picture
Update Dockerfile
a8427bb verified
raw
history blame
322 Bytes
FFROM python:3.10-slim
RUN apt-get update && apt-get install -y \
tesseract-ocr \
libgl1-mesa-glx libsm6 libxext6 \
&& apt-get clean
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY app.py .
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.enableCORS=false"]