Samoed commited on
Commit
0bf23ba
·
verified ·
1 Parent(s): 7e8a84d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -21
Dockerfile CHANGED
@@ -1,22 +1,3 @@
1
- FROM python:3.12-bookworm
2
 
3
- RUN apt update && apt install -y git make nginx
4
-
5
- RUN useradd -m -u 1000 user
6
- ENV PATH="/home/user/.local/bin:$PATH"
7
-
8
- RUN git clone -b feat-rteb-sider-ui https://github.com/embedding-benchmark/mteb.git
9
-
10
- RUN chown -R user:user /mteb
11
-
12
- USER user
13
- WORKDIR /mteb
14
-
15
- RUN pip install "pydantic<2.11"
16
- RUN pip install ".[leaderboard]"
17
-
18
- # ENV XDG_CACHE_HOME=/home/user/.cache
19
- ENV GRADIO_SERVER_NAME="0.0.0.0"
20
- EXPOSE 7860
21
-
22
- CMD ["python", "-m", "mteb.leaderboard.app"]
 
1
+ FROM ghcr.io/embeddings-benchmark/mteb/leaderboard:a2341a552246e64678602a1ddec61e2712f7dfe2
2
 
3
+ CMD ["make", "run-leaderboard"]