Spaces:
Build error
Build error
Nguyen Thai Thao Uyen
commited on
Commit
·
06af4a7
1
Parent(s):
489cfc3
Update Dockerfile
Browse files- Dockerfile +7 -1
Dockerfile
CHANGED
@@ -4,7 +4,13 @@ WORKDIR /code
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
COPY . .
|
10 |
|
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
+
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt \
|
8 |
+
&& mkdir cache \
|
9 |
+
&& chmod 777 cache
|
10 |
+
RUN pip install --upgrade pip \
|
11 |
+
&& pip install numpy \
|
12 |
+
&& pip install git+https://github.com/facebookresearch/segment-anything.git \
|
13 |
+
&& pip install git+https://github.com/huggingface/transformers.git
|
14 |
|
15 |
COPY . .
|
16 |
|