Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 464 Bytes
0618b38 fb2f113 2f4eccb ae7955c fb2f113 1ded798 2f4eccb fb2f113 2f4eccb fb2f113 7788fc8 eee8fa1 2f4eccb 0ec7f6f 8a8b0ac 3bdb713 2f4eccb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
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 -b supress_logging_warning https://github.com/embeddings-benchmark/mteb.git
RUN chown -R user:user /mteb
USER user
WORKDIR /mteb
RUN pip install "pydantic<2.11"
RUN pip install ".[leaderboard]"
# ENV XDG_CACHE_HOME=/home/user/.cache
EXPOSE 7860
ENV GRADIO_SERVER_NAME="0.0.0.0"
CMD ["make", "run-leaderboard"]
|