Dockerfile 230 B

12345678910
  1. FROM python:3.9
  2. WORKDIR /app
  3. COPY . /app
  4. RUN apt-get update && apt-get install -y \
  5. libgl1-mesa-glx \
  6. libglib2.0-0 \
  7. tesseract-ocr \
  8. tesseract-ocr-rus
  9. RUN pip install -r requirements.txt
  10. CMD ["python", "main.py"]