phongtran commited on
Commit
9c56065
·
1 Parent(s): dd5a780
Files changed (2) hide show
  1. Dockerfile +0 -2
  2. pre-requirements.txt +2 -1
Dockerfile CHANGED
@@ -14,7 +14,6 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
14
 
15
  WORKDIR /code
16
 
17
- COPY ./requirements.txt /code/pre-requirements.txt
18
  COPY ./requirements.txt /code/requirements.txt
19
 
20
  # Set up a new user named "user" with user ID 1000
@@ -28,7 +27,6 @@ ENV HOME=/home/user \
28
  PYTHONUNBUFFERED=1 \
29
  SYSTEM=spaces
30
 
31
- RUN pip3 install --no-cache-dir --upgrade -r /code/pre-requirements.txt
32
  RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
33
 
34
  # Set the working directory to the user's home directory
 
14
 
15
  WORKDIR /code
16
 
 
17
  COPY ./requirements.txt /code/requirements.txt
18
 
19
  # Set up a new user named "user" with user ID 1000
 
27
  PYTHONUNBUFFERED=1 \
28
  SYSTEM=spaces
29
 
 
30
  RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
31
 
32
  # Set the working directory to the user's home directory
pre-requirements.txt CHANGED
@@ -1,3 +1,4 @@
1
  gradio
2
  transformers
3
- torch
 
 
1
  gradio
2
  transformers
3
+ torch
4
+ einops