<#129 with_uv_project for remote builder> Pull req...
# flyte-github
a
#129 with_uv_project for remote builder Pull request opened by pingsutw This pull request makes two important updates to the
src/flyte/_internal/imagebuild/remote_builder.py
file, improving how files are copied to the build context and correcting the default secret directory path for image builds. Improvements to file handling in layer definition: • Updated
_get_layers_proto
to use the
copy_files_to_context
function for copying
pyproject
and
uvlock
files, ensuring files are properly placed in the build context and referenced relative to it. Also, added support for
options
and
secret_mounts
in the layer definition. Fix to secret directory path: • Changed the default secret directory path from
"etc/flyte/secrets"
to
"/etc/flyte/secrets"
in
_get_build_secrets_from_image
, ensuring secrets are mounted from the correct location. flyteorg/flyte-sdk