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
16
16
17
17
# Install build tooling
18
18
RUN dnf install -y git \
19
- && python3 -m venv /tmp/pdm \
19
+ && /usr/bin/ python3 -m venv /tmp/pdm \
20
20
&& /tmp/pdm/bin/pip install --no-cache-dir -U pdm \
21
21
&& ln -s /tmp/pdm/bin/pdm /usr/local/bin/pdm
22
22
@@ -27,11 +27,11 @@ ENV PDM_CHECK_UPDATE=false \
27
27
28
28
# Copy repository files
29
29
# Do this as late as possible to leverage layer caching
30
- COPY / /opt/app-root/ src
30
+ COPY / /src
31
31
32
32
# 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
35
35
36
36
# Prod image
37
37
FROM $BASE_IMAGE
You can’t perform that action at this time.
0 commit comments