|
|
FROM python:3.12-bookworm |
|
|
|
|
|
RUN apt update && apt install -y git make |
|
|
RUN useradd -m -u 1000 user |
|
|
ENV PATH="/home/user/.local/bin:$PATH" |
|
|
|
|
|
RUN git clone https://github.com/embeddings-benchmark/mteb.git |
|
|
RUN chown -R user:user /mteb |
|
|
|
|
|
USER user |
|
|
WORKDIR /mteb |
|
|
|
|
|
RUN pip install "pydantic<2.11" |
|
|
RUN git remote add my-fork https://github.com/QuentinJGMace/mteb-pipeline.git |
|
|
RUN git fetch my-fork |
|
|
RUN git checkout -b benchmark/VidoreV3Leaderboard my-fork/benchmark/VidoreV3Leaderboard |
|
|
RUN pip install ".[leaderboard]" |
|
|
|
|
|
ENV GRADIO_SERVER_NAME="0.0.0.0" |
|
|
EXPOSE 7860 |
|
|
|
|
|
CMD ["make", "run-leaderboard"] |
|
|
|