@object()
class MyApp {
@func()
async dependencies(source: Directory): Promise<Container> {
...
}
}
Following the pattern from the documentation, running dagger call dependencies --source=., but if the workspace contains e.g. node_modules which should not be copied into the context, it negatively impacts performance (potentially substantially so, adding minutes to every call).
How can this be resolved?