New RunLLM response generated: >>>*# Question* Hi...
# runllm-flyte-trial
j
New RunLLM response generated: >>>*# Question* Hi all, with IamgeSpec I can execute RUN command, I also want to execute COPY command, am I able to do so? # Answer Yes, you can execute a COPY command using ImageSpec in Flyte. The
ImageSpec
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.