Skip to content

Commit 2dd5ee4

Browse files
author
Tyler Titsworth
authored
Merge branch 'main' into dependabot/pip/pytorch/pytorch-f44ea76a53
2 parents 7a4c297 + 5b55cc1 commit 2dd5ee4

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

pytorch/Dockerfile

+7-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,13 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missin
229229
python3-venv && \
230230
rm -rf /var/lib/apt/lists/*
231231

232-
RUN python3 -m venv /home/venv
232+
WORKDIR /
233+
COPY venv-requirements.txt .
234+
235+
RUN python3 -m venv /home/venv && \
236+
/home/venv/bin/python -m pip install --no-cache-dir --upgrade pip && \
237+
/home/venv/bin/python -m pip install --no-cache-dir -r venv-requirements.txt && \
238+
rm -rf venv-requirements.txt
233239

234240
ENV PATH="/home/venv/bin:$PATH"
235241

pytorch/venv-requirements.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
setuptools>=70.0.0
2+
psutil==6.0.0
3+
mkl==2024.2.1
4+
mkl-include==2024.2.1
5+
intel-openmp==2024.2.1

0 commit comments

Comments
 (0)