abhishekrs4 commited on
Commit
a637b3a
1 Parent(s): 4a88266

updated dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -23,9 +23,9 @@ WORKDIR $HOME/app
23
  COPY ./artifacts/ /data/models/
24
  COPY ./requirements.txt .
25
 
26
- RUN pip install torch==1.11.0+cpu torchvision==0.12.0+cpu torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cpu
27
- RUN pip install pybind11==2.12.0
28
- RUN pip install -r requirements.txt
29
 
30
  COPY ./iam_line_recognition/*.py ./iam_line_recognition/
31
  COPY ./*.py .
 
23
  COPY ./artifacts/ /data/models/
24
  COPY ./requirements.txt .
25
 
26
+ RUN pip install --no-cache-dir torch==1.11.0+cpu torchvision==0.12.0+cpu torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cpu
27
+ RUN pip install --no-cache-dir pybind11==2.12.0
28
+ RUN pip install --no-cache-dir -r requirements.txt
29
 
30
  COPY ./iam_line_recognition/*.py ./iam_line_recognition/
31
  COPY ./*.py .