kardosdrur commited on
Commit
fb2f113
1 Parent(s): ec9d856

Added minimal app

Browse files
Files changed (3) hide show
  1. Dockerfile +18 -0
  2. main.py +3 -0
  3. requirements.txt +4 -0
Dockerfile ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.10
2
+
3
+ RUN apk update
4
+ RUN apk add git
5
+
6
+ RUN useradd -m -u 1000 user
7
+ USER user
8
+ ENV PATH="/home/user/.local/bin:$PATH"
9
+
10
+ RUN git clone https://github.com/embeddings-benchmark/mteb.git
11
+
12
+
13
+ COPY --chown=user ./main.py /mteb/main.py
14
+ COPY --chown=user ./requirements.txt /mteb/requirements.txt
15
+ RUN pip install -r /mteb/requirements.txt
16
+
17
+ WORKDIR /mteb
18
+ CMD ["python3", "main.py"]
main.py ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ from mteb.leaderboard.app import demo
2
+
3
+ demo.launch()
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ mteb
2
+ gradio_rangeslider>=0.0.8
3
+ gradio>=5.5.0
4
+ plotly>=5.20.0