File size: 379 Bytes
fb2f113
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM python:3.10

RUN apk update
RUN apk add git

RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"

RUN git clone https://github.com/embeddings-benchmark/mteb.git


COPY --chown=user ./main.py /mteb/main.py
COPY --chown=user ./requirements.txt /mteb/requirements.txt
RUN pip install -r /mteb/requirements.txt

WORKDIR /mteb
CMD ["python3", "main.py"]