Spaces:
Running
Running
FROM python:3.10 | |
RUN apk update | |
RUN apk add git | |
RUN useradd -m -u 1000 user | |
USER user | |
ENV PATH="/home/user/.local/bin:$PATH" | |
RUN git clone https://github.com/embeddings-benchmark/mteb.git | |
COPY --chown=user ./main.py /mteb/main.py | |
COPY --chown=user ./requirements.txt /mteb/requirements.txt | |
RUN pip install -r /mteb/requirements.txt | |
WORKDIR /mteb | |
CMD ["python3", "main.py"] | |