diff --git a/.changeset/eleven-months-brake.md b/.changeset/eleven-months-brake.md new file mode 100644 index 0000000000..2f79e81324 --- /dev/null +++ b/.changeset/eleven-months-brake.md @@ -0,0 +1,5 @@ +--- +"@trigger.dev/python": patch +--- + +Fixed the bug where you can only specify the requirements file as top level diff --git a/packages/python/src/extension.ts b/packages/python/src/extension.ts index 53b5c2c8cf..f59bce5037 100644 --- a/packages/python/src/extension.ts +++ b/packages/python/src/extension.ts @@ -121,7 +121,7 @@ class PythonExtension implements BuildExtension { image: { instructions: splitAndCleanComments(` # Copy the requirements file - COPY ${this.options.requirementsFile} . + COPY ${this.options.requirementsFile} ${this.options.requirementsFile} # Install dependencies RUN pip install --no-cache-dir -r ${this.options.requirementsFile} `),