ejschwartz commited on
Commit
9812625
·
1 Parent(s): c80ed73
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -19,6 +19,10 @@ RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
19
  RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1
20
  RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
21
 
 
 
 
 
22
  # Install llvm
23
  RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
24
  RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
 
19
  RUN update-alternatives --install /usr/bin/python python /usr/bin/python3.11 1
20
  RUN update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 1
21
 
22
+ # Install requirement packages
23
+ COPY ./requirements.txt /tmp/requirements.txt
24
+ RUN --mount=type=cache,target=/root/.cache pip install --upgrade -r /tmp/requirements.txt
25
+
26
  # Install llvm
27
  RUN wget -qO- https://apt.llvm.org/llvm-snapshot.gpg.key | tee /etc/apt/trusted.gpg.d/apt.llvm.org.asc
28
  RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \