Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile
Browse files- Dockerfile +2 -9
Dockerfile
CHANGED
@@ -8,15 +8,8 @@ ENV PATH="/home/user/.local/bin:$PATH"
|
|
8 |
|
9 |
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
10 |
RUN chown -R 1000 /mteb
|
11 |
-
USER user
|
12 |
-
|
13 |
-
COPY --chown=user ./main.py /mteb/main.py
|
14 |
-
COPY --chown=user ./requirements.txt /mteb/requirements.txt
|
15 |
-
COPY --chown=user ./download_data.py /mteb/download_data.py
|
16 |
-
RUN cd /mteb/ && pip install -e ".[leaderboard]"
|
17 |
-
RUN pip install matplotlib
|
18 |
-
|
19 |
WORKDIR /mteb
|
|
|
20 |
|
21 |
EXPOSE 7860
|
22 |
-
CMD ["
|
|
|
8 |
|
9 |
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
10 |
RUN chown -R 1000 /mteb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
WORKDIR /mteb
|
12 |
+
RUN pip install ".[leaderboard]"
|
13 |
|
14 |
EXPOSE 7860
|
15 |
+
CMD ["make", "run-leaderboard"]
|