Skip to content

Commit fa67c82

Browse files
fix support for requirements file at any depth
1 parent 471c960 commit fa67c82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/python/src/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ class PythonExtension implements BuildExtension {
121121
image: {
122122
instructions: splitAndCleanComments(`
123123
# Copy the requirements file
124-
COPY ${this.options.requirementsFile} .
124+
COPY ${this.options.requirementsFile} ${this.options.requirementsFile}
125125
# Install dependencies
126126
RUN pip install --no-cache-dir -r ${this.options.requirementsFile}
127127
`),

0 commit comments

Comments
 (0)