smishr-18's picture
Update Dockerfile
b960582
raw
history blame
464 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 COPY requirements.txt /app/requirements.txt
# Install Python dependencies
RUN pip install -r requirements.txt
# Set the Tesseract path for pytesseract
ENV TESSDATA_PREFIX /usr/share/
CMD ["streamlit", "run", "app.py", "--server.port" , "7860"]