ofermend commited on
Commit
785eede
·
verified ·
1 Parent(s): 5c5d7a5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -3,9 +3,12 @@ FROM python:3.11
3
  WORKDIR /app
4
 
5
  COPY ./requirements.txt /app/requirements.txt
6
-
7
- RUN pip3 install --no-cache-dir wheel
8
- RUN pip3 install --no-cache-dir -r /app/requirements.txt
 
 
 
9
 
10
  # User
11
  RUN useradd -m -u 1000 user
 
3
  WORKDIR /app
4
 
5
  COPY ./requirements.txt /app/requirements.txt
6
+
7
+ RUN pip3 install --no-cache-dir --upgrade pip
8
+ RUN pip3 install --no-cache-dir wheel setuptools build
9
+
10
+ RUN pip3 install --no-cache-dir --use-pep517 -r /app/requirements.txt
11
+ #RUN pip3 install --no-cache-dir -r /app/requirements.txt
12
 
13
  # User
14
  RUN useradd -m -u 1000 user