We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c25207a commit effb8fdCopy full SHA for effb8fd
1 file changed
.kokoro/docs/docker/Dockerfile
@@ -123,6 +123,11 @@ RUN wget -O /tmp/get-pip.py 'https://bootstrap.pypa.io/get-pip.py' \
123
&& rm /tmp/get-pip.py \
124
&& python3.11 -m pip
125
126
+# Define the prefix argument, default to backend build environment.
127
+# Override this locally by using the following:
128
+# docker build --build-arg PATH_PREFIX="." .
129
+ARG PATH_PREFIX="git/build-dir/.kokoro/docs/docker"
130
+
131
# Install docsuploader
-COPY requirements.txt .
132
+COPY ${PATH_PREFIX}/requirements.txt .
133
RUN python3.11 -m pip install --require-hashes -r requirements.txt
0 commit comments