Spaces:
Runtime error
Runtime error
Commit
·
88c42b8
1
Parent(s):
0618b38
Removed user from Dockerfile
Browse files- Dockerfile +2 -6
Dockerfile
CHANGED
@@ -3,15 +3,11 @@ FROM python:3.12-bookworm
|
|
3 |
RUN apt update
|
4 |
RUN apt install -y git
|
5 |
|
6 |
-
RUN useradd -m -u 1000 user
|
7 |
-
USER user
|
8 |
-
ENV PATH="/home/user/.local/bin:$PATH"
|
9 |
-
|
10 |
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
11 |
|
12 |
|
13 |
-
COPY
|
14 |
-
COPY
|
15 |
RUN pip install -r /mteb/requirements.txt
|
16 |
|
17 |
WORKDIR /mteb
|
|
|
3 |
RUN apt update
|
4 |
RUN apt install -y git
|
5 |
|
|
|
|
|
|
|
|
|
6 |
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
7 |
|
8 |
|
9 |
+
COPY ./main.py /mteb/main.py
|
10 |
+
COPY ./requirements.txt /mteb/requirements.txt
|
11 |
RUN pip install -r /mteb/requirements.txt
|
12 |
|
13 |
WORKDIR /mteb
|