Skip to content

Commit 123f752

Browse files
committed
fix source_code arg missing in rhds
1 parent 71fb91d commit 123f752

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

base/rhel9-python-3.11/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
FROM registry.redhat.io/rhel9/python-311:latest
22

3+
ARG SOURCE_CODE=base/c9s-python-3.11
4+
35
LABEL name="rhoai-notebook-base-rhel9-python-3.11" \
46
summary="Python 3.11 Red Hat Enterprise Linux 9 base image for RHOAI notebooks" \
57
description="Base Python 3.11 builder image based on Red Hat Enterprise Linux 9 for RHOAI notebooks" \
@@ -17,7 +19,7 @@ RUN pip install --no-cache-dir -U "micropipenv[toml]"
1719

1820
# Install Python dependencies from Pipfile.lock file
1921

20-
COPY Pipfile.lock ./
22+
COPY ${SOURCE_CODE}/Pipfile.lock ./
2123
RUN echo "Installing softwares and packages" && micropipenv install && rm -f ./Pipfile.lock
2224

2325
# OS Packages needs to be installed as root

0 commit comments

Comments
 (0)