smishr-18's picture
Update Dockerfile
c56a42b
raw
history blame
442 Bytes
FROM python:3.11
RUN pip install opencv-python
RUN apt-get update && apt-get install -y tesseract-ocr
# Set the working directory in the container
WORKDIR /app
# Copy your application files into the container
COPY . /app
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Set the Tesseract path for pytesseract
ENV TESSDATA_PREFIX /usr/share/
CMD ["streamlit", "run", "app.py", "--server.port" , "7860"]