chandan06 commited on
Commit
a0c7c85
·
verified ·
1 Parent(s): 250fd94

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -8,11 +8,13 @@ RUN apt-get update && apt-get install -y \
8
  git \
9
  python3.10 \
10
  python3-pip \
11
- && apt-get clean
 
 
12
  RUN apt-get install poppler-utils -y
13
 
14
 
15
- RUN pip3 install torch --index-url https://download.pytorch.org/whl/cu121
16
  RUN useradd -m -u 1000 user
17
 
18
  USER user
 
8
  git \
9
  python3.10 \
10
  python3-pip \
11
+ --no-install-recommends \
12
+ && apt-get clean \
13
+ && rm -rf /var/lib/apt/lists/
14
  RUN apt-get install poppler-utils -y
15
 
16
 
17
+ RUN pip3 install torch --index-url https://download.pytorch.org/whl/cu124
18
  RUN useradd -m -u 1000 user
19
 
20
  USER user