QuentinJG commited on
Commit
832b920
·
verified ·
1 Parent(s): 6b833e3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -5
Dockerfile CHANGED
@@ -5,17 +5,15 @@ RUN useradd -m -u 1000 user
5
  ENV PATH="/home/user/.local/bin:$PATH"
6
 
7
  RUN git clone https://github.com/embeddings-benchmark/mteb.git
8
- RUN cd mteb
9
- RUN git remote add my-fork https://github.com/QuentinJGMace/mteb-pipeline.git
10
- RUN git fetch my-fork
11
- RUN git checkout -b benchmark/VidoreV3Leaderboard my-fork/benchmark/VidoreV3Leaderboard
12
- RUN cd ..
13
  RUN chown -R user:user /mteb
14
 
15
  USER user
16
  WORKDIR /mteb
17
 
18
  RUN pip install "pydantic<2.11"
 
 
 
19
  RUN pip install ".[leaderboard]"
20
  # ENV XDG_CACHE_HOME=/home/user/.cache
21
  ENV GRADIO_SERVER_NAME="0.0.0.0"
 
5
  ENV PATH="/home/user/.local/bin:$PATH"
6
 
7
  RUN git clone https://github.com/embeddings-benchmark/mteb.git
 
 
 
 
 
8
  RUN chown -R user:user /mteb
9
 
10
  USER user
11
  WORKDIR /mteb
12
 
13
  RUN pip install "pydantic<2.11"
14
+ RUN git remote add my-fork https://github.com/QuentinJGMace/mteb-pipeline.git
15
+ RUN git fetch my-fork
16
+ RUN git checkout -b benchmark/VidoreV3Leaderboard my-fork/benchmark/VidoreV3Leaderboard
17
  RUN pip install ".[leaderboard]"
18
  # ENV XDG_CACHE_HOME=/home/user/.cache
19
  ENV GRADIO_SERVER_NAME="0.0.0.0"