from truefoundry.deploy import VolumeMount, Resources
from truefoundry.workflow import task, workflow, PythonTaskConfig, TaskDockerFileBuild
task_config = PythonTaskConfig(
image=TaskDockerFileBuild(
...
mounts=[
VolumeMount(
mount_path="/model", #or your desired path
volume_fqn="your-volume-fqn"
)
]
)