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 ["python", "app.py", "--server.port" , "7860"]