jolly-florist-66728
10/21/2024, 1:44 PMImageSpec
construct allows you to specify files to be copied into the image being built. You can use the with_copy
method to add files or directories to be copied into the image. However, ensure that the paths are relative and do not contain absolute paths or ".." as these are not allowed in the COPY command.
Would you like more detail on how to implement this?
Sources:
- flytekit/image_spec/default_builder.py
- flytekit/image_spec/image_spec.py
Slack Link
https://.slack.com/archives/CP2HDHKE1/p1729518235.800009 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.