InvoiceExtractor / Dockerfile
Archit Singh
update: fix dockerfile for simple no-build stages, new: add logic for ocr pipeline and streamlit
035ae2b
raw
history blame contribute delete
360 Bytes
FROM python:3.9
WORKDIR /code
COPY . .
RUN pip install --upgrade pip
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
RUN pip install -U openmim
RUN mim install mmengine
RUN mim install mmcv
RUN mim install mmdet
RUN git clone https://github.com/open-mmlab/mmocr.git
RUN pip install -v -e /code/mmocr
CMD ["streamlit", "run", "app.py"]