Spaces:
Running
Running
kardosdrur
commited on
Commit
•
59abd04
1
Parent(s):
ae7955c
Only change ownership for mteb folder
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -4,11 +4,11 @@ RUN apt update
|
|
4 |
RUN apt install -y git
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
7 |
-
RUN chown -R 1000 /
|
8 |
-
USER user
|
9 |
ENV PATH="/home/user/.local/bin:$PATH"
|
10 |
|
11 |
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
|
|
|
|
12 |
|
13 |
COPY --chown=user ./main.py /mteb/main.py
|
14 |
COPY --chown=user ./requirements.txt /mteb/requirements.txt
|
|
|
4 |
RUN apt install -y git
|
5 |
|
6 |
RUN useradd -m -u 1000 user
|
|
|
|
|
7 |
ENV PATH="/home/user/.local/bin:$PATH"
|
8 |
|
9 |
RUN git clone https://github.com/embeddings-benchmark/mteb.git
|
10 |
+
RUN chown -R 1000 /mteb
|
11 |
+
USER user
|
12 |
|
13 |
COPY --chown=user ./main.py /mteb/main.py
|
14 |
COPY --chown=user ./requirements.txt /mteb/requirements.txt
|