FROM python:3.10 | |
RUN apt update && apt install -y libgl1 tesseract-ocr poppler-utils | |
WORKDIR /code | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
COPY . . | |
CMD ["python", "app.py"] | |
FROM python:3.10 | |
RUN apt update && apt install -y libgl1 tesseract-ocr poppler-utils | |
WORKDIR /code | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
COPY . . | |
CMD ["python", "app.py"] | |