File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ USER root
1616
1717# Install build tooling
1818RUN dnf install -y git \
19- && python3 -m venv /tmp/pdm \
19+ && /usr/bin/ python3 -m venv /tmp/pdm \
2020 && /tmp/pdm/bin/pip install --no-cache-dir -U pdm \
2121 && ln -s /tmp/pdm/bin/pdm /usr/local/bin/pdm
2222
@@ -27,11 +27,11 @@ ENV PDM_CHECK_UPDATE=false \
2727
2828# Copy repository files
2929# Do this as late as possible to leverage layer caching
30- COPY / /opt/app-root/ src
30+ COPY / /src
3131
3232# Install guidellm and locked dependencies
33- RUN pdm use -p /opt/app-root/ src -f /opt/app-root \
34- && pdm install -p /opt/app-root/ src --check --prod --no-editable
33+ RUN pdm use -p /src -f /opt/app-root \
34+ && pdm install -p /src --check --prod --no-editable
3535
3636# Prod image
3737FROM $BASE_IMAGE
You can’t perform that action at this time.
0 commit comments