Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -5,7 +5,7 @@ RUN useradd -m -u 1000 user
|
|
| 5 |
ENV PATH="/home/user/.local/bin:$PATH"
|
| 6 |
|
| 7 |
# Install uv
|
| 8 |
-
COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
|
| 9 |
|
| 10 |
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
| 11 |
RUN chown -R user:user /mteb
|
|
@@ -16,7 +16,7 @@ WORKDIR /mteb
|
|
| 16 |
RUN git checkout 33030877cfc69908844a21cc7e42e0a6ce1038ec
|
| 17 |
|
| 18 |
# Use uv to install dependencies with leaderboard extras
|
| 19 |
-
RUN
|
| 20 |
|
| 21 |
# ENV XDG_CACHE_HOME=/home/user/.cache
|
| 22 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|
|
|
|
| 5 |
ENV PATH="/home/user/.local/bin:$PATH"
|
| 6 |
|
| 7 |
# Install uv
|
| 8 |
+
# COPY --from=ghcr.io/astral-sh/uv:latest /uv /usr/local/bin/uv
|
| 9 |
|
| 10 |
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
| 11 |
RUN chown -R user:user /mteb
|
|
|
|
| 16 |
RUN git checkout 33030877cfc69908844a21cc7e42e0a6ce1038ec
|
| 17 |
|
| 18 |
# Use uv to install dependencies with leaderboard extras
|
| 19 |
+
RUN pip install ".[leaderboard]"
|
| 20 |
|
| 21 |
# ENV XDG_CACHE_HOME=/home/user/.cache
|
| 22 |
ENV GRADIO_SERVER_NAME="0.0.0.0"
|