Spaces:
Runtime error
Runtime error
update dockerfile
Browse files- Dockerfile +8 -4
Dockerfile
CHANGED
|
@@ -4,16 +4,20 @@ RUN apt update && apt install -y git make
|
|
| 4 |
RUN useradd -m -u 1000 user
|
| 5 |
ENV PATH="/home/user/.local/bin:$PATH"
|
| 6 |
|
| 7 |
-
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
|
|
|
|
|
|
|
|
|
| 8 |
# RUN chown -R user:user /mteb
|
| 9 |
|
| 10 |
USER user
|
| 11 |
-
WORKDIR /
|
| 12 |
|
| 13 |
RUN pip install "pydantic<2.11"
|
| 14 |
-
RUN pip install ".[leaderboard]"
|
| 15 |
-
RUN pip install git+https://github.com/ayush1298/mteb@share_bencmark_link
|
| 16 |
# RUN pip install cachetools gradio gradio_rangeslider
|
|
|
|
| 17 |
# ENV XDG_CACHE_HOME=/home/user/.cache
|
| 18 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
| 19 |
EXPOSE 7860
|
|
|
|
| 4 |
RUN useradd -m -u 1000 user
|
| 5 |
ENV PATH="/home/user/.local/bin:$PATH"
|
| 6 |
|
| 7 |
+
# RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
| 8 |
+
# RUN chown -R user:user /mteb
|
| 9 |
+
|
| 10 |
+
# RUN git clone -b share_bencmark_link https://github.com/embeddings-benchmark/mteb.git
|
| 11 |
# RUN chown -R user:user /mteb
|
| 12 |
|
| 13 |
USER user
|
| 14 |
+
WORKDIR /home/user
|
| 15 |
|
| 16 |
RUN pip install "pydantic<2.11"
|
| 17 |
+
# RUN pip install "git+https://github.com/ayush1298/mteb@share_bencmark_link[leaderboard]"
|
| 18 |
+
RUN pip install "mteb[leaderboard] @ git+https://github.com/ayush1298/mteb@share_bencmark_link"
|
| 19 |
# RUN pip install cachetools gradio gradio_rangeslider
|
| 20 |
+
# RUN pip install ".[leaderboard]"
|
| 21 |
# ENV XDG_CACHE_HOME=/home/user/.cache
|
| 22 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
| 23 |
EXPOSE 7860
|