leaderboard / Dockerfile
q275343119's picture
add - multi app
5c3be66
raw
history blame contribute delete
510 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 multi_sidebar https://github.com/q275343119/mteb.git
RUN chown -R user:user /mteb
USER user
WORKDIR /mteb
RUN pip install "pydantic<2.11"
RUN pip install ".[leaderboard]"
# 开放容器端口
EXPOSE 7860
# 启动脚本需要可执行权限
RUN chmod +x /mteb/mteb/leaderboard/entrypoint.sh
ENTRYPOINT ["/mteb/mteb/leaderboard/entrypoint.sh"]