File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,17 @@ COPY / /opt/app-root/src
2020ENV GUIDELLM_BUILD_TYPE=$GUIDELLM_BUILD_TYPE
2121
2222# Install build tooling
23- RUN apt-get update && apt-get install -y --no-install-recommends \
24- build-essential git
23+ RUN apt-get update \
24+ && apt-get install -y --no-install-recommends git \
25+ pip install --no-cache-dir -U pdm
26+
27+ # disable pdm update check
28+ ENV PDM_CHECK_UPDATE=false
2529
2630# Create a venv and install guidellm
2731RUN python3 -m venv /opt/app-root/guidellm \
28- && /opt/app-root/guidellm/bin/pip install --no-cache-dir /opt/app-root/src
32+ && pdm use -p /opt/app-root/src -f /opt/app-root/guidellm \
33+ && pdm install -p /opt/app-root/src --check --prod --no-editable
2934
3035# Prod image
3136FROM $BASE_IMAGE
You can’t perform that action at this time.
0 commit comments