Spaces:
Build error
Build error
Trang Dang
commited on
Commit
•
d01a371
1
Parent(s):
e8807d2
chmod cache file
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -4,7 +4,9 @@ WORKDIR /code
|
|
4 |
|
5 |
COPY ./requirements.txt /code/requirements.txt
|
6 |
|
7 |
-
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
|
|
|
8 |
RUN pip install --upgrade pip \
|
9 |
&& pip install numpy \
|
10 |
&& pip install git+https://github.com/facebookresearch/segment-anything.git \
|
|
|
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 \
|