File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,12 @@ RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missin
229
229
python3-venv && \
230
230
rm -rf /var/lib/apt/lists/*
231
231
232
- RUN python3 -m venv /home/venv
232
+ COPY venv-requirements.txt .
233
+
234
+ RUN python3 -m venv /home/venv && \
235
+ /home/venv/bin/python -m pip install --no-cache-dir --upgrade pip && \
236
+ /home/venv/bin/python -m pip install --no-cache-dir -r venv-requirements.txt && \
237
+ rm -rf venv-requirements.txt
233
238
234
239
ENV PATH="/home/venv/bin:$PATH"
235
240
@@ -320,8 +325,6 @@ ARG GID=109
320
325
RUN groupadd -g ${GID} render &&\
321
326
usermod -aG video,render model-server
322
327
323
- RUN python -m pip install pip==23.3 setuptools==70.0.0
324
-
325
328
USER model-server
326
329
327
330
WORKDIR /home/model-server
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments