Tristan Yu commited on
Commit
b21f2c6
·
verified ·
1 Parent(s): 19c7183

Upload 2 files

Browse files
Files changed (2) hide show
  1. Dockerfile +2 -1
  2. requirements.txt +0 -1
Dockerfile CHANGED
@@ -25,7 +25,8 @@ COPY --chown=user requirements.txt .
25
 
26
  # Install Python packages in the correct order
27
  RUN pip install --no-cache-dir --upgrade pip && \
28
- pip install --no-cache-dir numpy && \
 
29
  pip install --no-cache-dir -r requirements.txt
30
 
31
  # Copy the rest of the application
 
25
 
26
  # Install Python packages in the correct order
27
  RUN pip install --no-cache-dir --upgrade pip && \
28
+ pip install --no-cache-dir typing-extensions>=4.0.0 && \
29
+ pip install --no-cache-dir numpy>=1.20.0 && \
30
  pip install --no-cache-dir -r requirements.txt
31
 
32
  # Copy the rest of the application
requirements.txt CHANGED
@@ -1,4 +1,3 @@
1
- typing-extensions>=4.0.0
2
  torch>=2.0.0
3
  transformers>=4.0.0
4
  pytorch-lightning>=2.0.0
 
 
1
  torch>=2.0.0
2
  transformers>=4.0.0
3
  pytorch-lightning>=2.0.0