vsmolyakov commited on
Commit
344d8b2
·
1 Parent(s): 8b0f1c5

numpy update fix

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -1
  2. requirements.txt +1 -2
Dockerfile CHANGED
@@ -9,7 +9,9 @@ COPY ./requirements.txt /code/requirements.txt
9
 
10
  # Install requirements.txt
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
-
 
 
13
  # Set up a new user named "user" with user ID 1000
14
  RUN useradd -m -u 1000 user
15
  # Switch to the "user" user
 
9
 
10
  # Install requirements.txt
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
+
13
+ RUN pip install numpy --upgrade
14
+
15
  # Set up a new user named "user" with user ID 1000
16
  RUN useradd -m -u 1000 user
17
  # Switch to the "user" user
requirements.txt CHANGED
@@ -3,5 +3,4 @@ requests==2.27.*
3
  uvicorn[standard]==0.17.*
4
  sentencepiece==0.1.*
5
  torch==1.11.*
6
- transformers==4.*
7
- numpy==2.0.1
 
3
  uvicorn[standard]==0.17.*
4
  sentencepiece==0.1.*
5
  torch==1.11.*
6
+ transformers==4.*