Spaces:
Paused
Paused
Download Dockerfile from SmileXing/leaderboard: direct link, hf CLI and curl.
- Browser
- Download file 516 Bytes
-
https://huggingface.co/spaces/SmileXing/leaderboard/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/SmileXing/leaderboard/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/SmileXing/leaderboard/resolve/main/Dockerfile
516 Bytes
| FROM python:3.12-bookworm | |
| RUN apt update && apt install -y git make nginx | |
| RUN useradd -m -u 1000 user | |
| ENV PATH="/home/user/.local/bin:$PATH" | |
| RUN git clone -b feat-client_ip https://github.com/embedding-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 | |
| ENV GRADIO_SERVER_NAME="0.0.0.0" | |
| EXPOSE 7860 | |
| ENV LOGURU_LEVEL="DEBUG" | |
| CMD ["python", "-m", "mteb.leaderboard.app", "--show_rteb"] | |