kardosdrur commited on
Commit
88c42b8
·
1 Parent(s): 0618b38

Removed user from Dockerfile

Browse files
Files changed (1) hide show
  1. 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 --chown=user ./main.py /mteb/main.py
14
- COPY --chown=user ./requirements.txt /mteb/requirements.txt
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