smishr-18's picture
Update Dockerfile
47b3e80
raw
history blame
398 Bytes
FROM python:3.11
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 -r requirements.txt
# Set the Tesseract path for pytesseract
ENV TESSDATA_PREFIX /usr/share/
CMD ["streamlit", "run", "app.py", "--server.port" , "7860"]