File size: 360 Bytes
543c0ea
 
 
 
035ae2b
 
543c0ea
035ae2b
 
543c0ea
 
 
 
 
 
035ae2b
543c0ea
035ae2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"]