Spaces:
Build error
Build error
napatswift
commited on
Commit
•
df29cc7
1
Parent(s):
d55cd72
Update Dockerfile
Browse files- Dockerfile +5 -3
Dockerfile
CHANGED
@@ -7,9 +7,11 @@ RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
|
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
9 |
|
10 |
-
RUN pip install -
|
11 |
-
RUN mim install
|
12 |
-
RUN
|
|
|
|
|
13 |
|
14 |
RUN wget https://github.com/napatswift/naplog/releases/download/v0.0.1/dbnet_resnet18_fpnc_1200e_icdar2015.tar.gz
|
15 |
RUN wget https://github.com/napatswift/naplog/releases/download/v0.0.1/nrtr_modality-transform_50e_thvl.tar.gz
|
|
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
9 |
|
10 |
+
RUN pip install -U openmim
|
11 |
+
RUN mim install mmengine
|
12 |
+
RUN mim install mmcv
|
13 |
+
RUN mim install mmdet
|
14 |
+
RUN mim install mmocr
|
15 |
|
16 |
RUN wget https://github.com/napatswift/naplog/releases/download/v0.0.1/dbnet_resnet18_fpnc_1200e_icdar2015.tar.gz
|
17 |
RUN wget https://github.com/napatswift/naplog/releases/download/v0.0.1/nrtr_modality-transform_50e_thvl.tar.gz
|