moriire commited on
Commit
aa060d6
·
verified ·
1 Parent(s): 9d47cb1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -10,13 +10,17 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
10
  gnupg2 \
11
  wget
12
 
 
 
13
  WORKDIR /code
14
 
15
  RUN chmod 777 .
16
 
 
17
  COPY ./requirements.txt /code/requirements.txt
18
 
19
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
 
20
 
21
  RUN useradd -m -u 1000 user
22
 
 
10
  gnupg2 \
11
  wget
12
 
13
+
14
+
15
  WORKDIR /code
16
 
17
  RUN chmod 777 .
18
 
19
+ RUN pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
20
  COPY ./requirements.txt /code/requirements.txt
21
 
22
+
23
+ RUN pip3 install --no-cache-dir --upgrade -r /code/requirements.txt
24
 
25
  RUN useradd -m -u 1000 user
26