Spaces:
Build error
Build error
Commit
•
137f561
1
Parent(s):
48e6d08
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -7,9 +7,9 @@ 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
|
11 |
-
RUN mim install 'mmcv>=2.0.0rc1'
|
12 |
-
RUN
|
13 |
|
14 |
# Set up a new user named "user" with user ID 1000
|
15 |
RUN useradd -m -u 1000 user
|
|
|
7 |
COPY ./requirements.txt /code/requirements.txt
|
8 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
9 |
|
10 |
+
RUN pip install -qq -U openmim
|
11 |
+
RUN mim install -U mmengine 'mmcv>=2.0.0rc1'
|
12 |
+
RUN pip install -qq openmim 'mmdet>=3.0.0rc0' 'mmocr>=1.0.0rc0'
|
13 |
|
14 |
# Set up a new user named "user" with user ID 1000
|
15 |
RUN useradd -m -u 1000 user
|