InvoiceExtractor / Dockerfile
Archit Singh
new: added dockerfile and app
543c0ea
raw
history blame
319 Bytes
FROM python:3.9
WORKDIR /code
RUN pip install --upgrade pip
RUN pip install torch torchvision
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 cd mmocr
RUN pip install -v -e .
COPY . .
CMD ["python", "app.py"]