File size: 464 Bytes
090fcce
957aeb8
c56a42b
fd2c31d
090fcce
 
fd2c31d
090fcce
b960582
090fcce
 
b960582
090fcce
 
 
fd2c31d
 
7eebf82
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"]