Samoed commited on
Commit
7689408
·
verified ·
1 Parent(s): 61dae92

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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 ["python3", "main.py"]
 
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"]